EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02052
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: IRStats2 Beta
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Tue, 25 Jun 2013 16:09:39 +0100
|
Jose,
Does your trigger looks like the block of code below (I know there were a few different versions hanging around): $c->add_trigger( EP_TRIGGER_DYNAMIC_TEMPLATE , sub { my( %args ) = @_; my( $repo, $pins ) = @args{qw/ repository pins/}; $pins->{"utf-8.head"} = "" if( !exists $pins->{"utf-8.head"} ); my $protocol = $repo->get_secure ? 'https':'http'; $pins->{"utf-8.head"} .= <<GCHARTS; <!-- IRStats2 --> <script type="text/_javascript_" src="">// <!-- No script --></script> <script type="text/_javascript_">google.load("visualization", "1", {packages:["corechart", "geochart"]});</script> <!-- end IRStats2 --> GCHARTS return EP_TRIGGER_OK; } ); If not, could you replace with the code above & re-try please? Thanks again! Seb On 25/06/13 15:47, Jose Martin wrote:
|
- References:
- [EP-tech] IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- From: Jose Martin <J.Martin@ulcc.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- From: Jose Martin <J.Martin@ulcc.ac.uk>
- [EP-tech] IRStats2 Beta
- Prev by Date: [EP-tech] Re: IRStats2 Beta
- Next by Date: [EP-tech] Re: IRStats2 Beta
- Previous by thread: [EP-tech] Re: IRStats2 Beta
- Next by thread: [EP-tech] Re: IRStats2 Beta
- Index(es):
