[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Limiting number of latest additions
It's work now, I changed the max value to 5 (max => 5 in) in latest_tool.plThank you very much for all your help guys!?
On Thursday, January 23, 2020, 03:02:27 PM GMT+7, zulkarnain via Eprints-tech <eprints-tech at ecs.soton.ac.uk> wrote:
it did not working, still showing 3 entries.
On Tuesday, January 21, 2020, 06:03:41 PM GMT+7, Bradley J. via Eprints-tech <eprints-tech at ecs.soton.ac.uk> wrote:
Try adding n=7 to the parameters, these are typically found in cfg/lang/en/static/index.xpage - look for the script block which calls cgi/latest_tool.
Eg
<div id="fplatest"/><script type="text/javascript">? new Ajax.Updater( 'fplatest', '/cgi/latest_tool', { parameters:"mode=fplatest&mainonly=yes;n=7"});</script><p><a href="{$config{http_cgiurl}}/latest_tool">More...</a></p>
Justin
On 21 Jan 2020, at 08:15, zulkarnain via Eprints-tech <eprints-tech at ecs.soton.ac.uk> wrote:
Hi.
I'm running EPrints 3.4.1-rc2. I want to display the latest additions on my frontpage but only 7 entries. I still want users to be able to see all additions on "Latest Additions" menu. Is it possible to do this? if yes how?
thanks,Zul
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=IUtQXbvNck1%2BtXs4rE34Hdl6TlCq3qVY3fSqAjYxXVc%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=QIo3U2%2BAGAmzpHCEfMmYFZrtwQTpkg8f86XGy5gWnxo%3D&reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=fXmX%2BmdHn7pgE4k%2FadhU%2FU%2FEIHU3npIUKuMz16tB1%2BY%3D&reserved=0
--
Justin Bradley
Strategy & Technical Lead
EPrints Services
WAIS / ECS /?University of Southamptonjustin at soton.ac.uk?/ B32 1023
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=IUtQXbvNck1%2BtXs4rE34Hdl6TlCq3qVY3fSqAjYxXVc%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=QIo3U2%2BAGAmzpHCEfMmYFZrtwQTpkg8f86XGy5gWnxo%3D&reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=fXmX%2BmdHn7pgE4k%2FadhU%2FU%2FEIHU3npIUKuMz16tB1%2BY%3D&reserved=0
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=IUtQXbvNck1%2BtXs4rE34Hdl6TlCq3qVY3fSqAjYxXVc%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=QIo3U2%2BAGAmzpHCEfMmYFZrtwQTpkg8f86XGy5gWnxo%3D&reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4b7ea24ffada48fcdf0b08d79fe44988%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=fXmX%2BmdHn7pgE4k%2FadhU%2FU%2FEIHU3npIUKuMz16tB1%2BY%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200123/d057c9e4/attachment-0001.html