EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03746
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Antwort: API IRStats2
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Antwort: API IRStats2
- From: martin.braendle@id.uzh.ch
- Date: Wed, 7 Jan 2015 13:04:18 +0100
Bonjour Jean-Marie, hello all and best wishes for 2015! I try to show some statistics on the home page of my Eprints but without success.. I tried this code: <div id="mygraph" class="irstats2_googlegraph"/> <script type="text/_javascript_"> document.observe("dom:loaded",function(){ new EPJS_Stats_GoogleGraph( { 'context': { 'datatype': 'downloads' }, 'options': { 'graph_type': 'column', 'container_id': 'mygraph', 'view': 'Google::Graph', 'show_average': '1', 'date_resolution': 'month' } }); }); </script> and <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> but it does not find a resulting output : "No data found". or it draws a blank graph. Has anyone tried to insert these codes? Thanks, Jean-Marie -- *********************************************** Jean Marie Le Bechec Service Commun de la Documentation Responsable ingenierie documentaire & Direction du Systeme d'Information Referent Etudes Institut National Polytechnique de Toulouse 6 allee Emile Monso - bp 34038 - 31029 Toulouse cedex 4 Tel : 05 34 32 31 16 Mail : lebechec@inp-toulouse.fr *********************************************** *** 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] API IRStats2
- From: Jean-Marie Le Bechec <Jean-Marie.LeBechec@inp-toulouse.fr>
- [EP-tech] API IRStats2
- Prev by Date: [EP-tech] Re: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves - it works! :-)
- Next by Date: [EP-tech] Re: Antwort: API IRStats2
- Previous by thread: [EP-tech] API IRStats2
- Next by thread: [EP-tech] Re: Antwort: API IRStats2
- Index(es):