EPrints Technical Mailing List Archive

Message: #07946


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] how to display total number publications in eprints reporsitory


Hi Satish,
I don't think there's a way to do this in a default install, although it can be done.

The home page is a static document.
The easiest way to achieve this might be to include a total via _javascript_. You would have to write a simple cgi script to pull the data out of the database.

An alternative way would be to create an EPScript method to provide the data.

I'm trying to find a couple of similar examples to point you in the right direction.
I think the 'Kultur' EPrints extension has some thing similar.
I'll send another email with some more detail later today!

And welcome to EPrints!
Cheers,
John

From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of satish mv via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 10 August 2019 08:42:52
To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] how to display total number publications in eprints reporsitory
 
Hi, 

I have installed eprints3 and would like to  display  total number of publications
in eprints repository home page.
I appreciate if you could share the perl script to query the mysql database and 
also specify where to insert these codes?

Thank you in advance.
Satish MV
Librarian
Govt. Engineering College, Hassan
Karnataka.INDIA.