EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03641
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Antwort: inserting irstats on abstract/detail page
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Antwort: inserting irstats on abstract/detail page
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Date: Fri, 5 Dec 2014 11:11:35 +0700
# IRSTATS CODE STARTS HERE
if ($repository->get_repository->can_call('irstats_abstract_content'))
{
$page->appendChild($repository->get_repository->call('irstats_abstract_content', $repository, $eprint));
}
# END IRSTATS
<div id="mytable" class="irstats_table"/> <script type="text/_javascript_"> document.observe( "dom:loaded", function() { new EPJS_Stats_Table( { 'context': { 'datatype': 'downloads' }, 'options': { 'container_id': 'mytable', 'top': 'eprint', 'view': 'Table', 'limit': '5' } } ); }); </script>
I'm don't know about perl :(
Any help very appreciate.
Thank you
Best regards
Agung
Hi,
the abstract/detail page is rendered by archives/{repo}/cfg/cfg.d/eprint_render.pl
http://eprints.github.io/irstats2/api.html describes the functions to obtain statistics data and gives some examples.
Best regards,
Martin
--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich
mail: martin.braendle@id.uzh.ch
phone: +41 44 63 56705
fax: +41 44 63 54505
http://www.id.uzh.ch
Ajunk Pracetio ---28/11/2014 04:43:23---Hi, I'd like to insert irstats on abstract/detail page. Is there any guide hoq
Von: Ajunk Pracetio <prazetyo@gmail.com>
An: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum: 28/11/2014 04:43
Betreff: [EP-tech] inserting irstats on abstract/detail page
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk
Life isn't valuable if you don't have someone to care*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
Hi,
I'd like to insert irstats on abstract/detail page. Is there any guide hoq to make it?
Thank you
Best Regards,
Agung P.W
--
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
*** 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/
--
- References:
- [EP-tech] inserting irstats on abstract/detail page
- From: Ajunk Pracetio <prazetyo@gmail.com>
- [EP-tech] Antwort: inserting irstats on abstract/detail page
- From: martin.braendle@id.uzh.ch
- [EP-tech] inserting irstats on abstract/detail page
- Prev by Date: [EP-tech] Re: Bazzar Plugin: Shelves
- Next by Date: [EP-tech] Re: Antwort: inserting irstats on abstract/detail page
- Previous by thread: [EP-tech] Antwort: inserting irstats on abstract/detail page
- Next by thread: [EP-tech] Re: Antwort: inserting irstats on abstract/detail page
- Index(es):