Re: [EP-tech] how to display total number publications in eprints reporsitory
John Salter via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|b4c56d8391ca034fd4287d4d4f4eea39v7C8Nv14eprints-tech-bounces|ecs.soton.ac.uk|DB6PR0302MB2711C4081C0EF28EEAD0EE53C4D20@DB6PR0302MB2711.eurprd03.prod.outlook.com> |
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: [email protected] <[email protected]> on behalf of satish mv via Eprints-tech <[email protected]> Sent: 10 August 2019 08:42:52 To: [email protected] <[email protected]> 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. *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/