We use here Google Analytics to understand better who is using the services. I have added the relevant script to presentation/page.xsl so that is appears at the bottom of every page. But it does not, I guess because it needs to be sourced. How is that done, short of restarting the server? -- Christian Zimmermann FIGUGEGL! Economic Research Federal Reserve Bank of St. Louis P.O. Box 442 St. Louis MO 63166-0442 USA http://ideas.repec.org/zimm/
'Christian Zimmermann' writes
We use here Google Analytics to understand better who is using the services.
I have added the relevant script to presentation/page.xsl so that is appears at the bottom of every page.
I think it is better to do this using the phrasing mechanism. Add a phrase to phrase-local and refenrence the phrase in page.xsl.
But it does not, I guess because it needs to be sourced. How is that done, short of restarting the server?
Try /usr/bin/pperl -- -k /home/aras/WWW/cgi/a.cgi Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
Thomas is right, you should not modify page.xsl But right away this does not seem to work via phrases either, even though there seems to be a relevant phrase: "after-footer". BTW, acis/presentation/ras is where the templates & phrases are now taken from. It looks like a change to the xslt is needed to allow script tags in phrase content. I'll see if this is easy to do. -ivan On Tue, Sep 6, 2011 at 7:33 PM, Thomas Krichel <krichel@openlib.org> wrote:
'Christian Zimmermann' writes
We use here Google Analytics to understand better who is using the services.
I have added the relevant script to presentation/page.xsl so that is appears at the bottom of every page.
I think it is better to do this using the phrasing mechanism. Add a phrase to phrase-local and refenrence the phrase in page.xsl.
But it does not, I guess because it needs to be sourced. How is that done, short of restarting the server?
Try
/usr/bin/pperl -- -k /home/aras/WWW/cgi/a.cgi
Cheers,
Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
For now, yes, a change to ~/acis/presentation/ras/page.xsl has done the job (i've shifted the GA snippet to just above the </body> tag). -i On Tue, Sep 6, 2011 at 7:38 PM, Ivan Kurmanov <duraley@gmail.com> wrote:
Thomas is right, you should not modify page.xsl
But right away this does not seem to work via phrases either, even though there seems to be a relevant phrase: "after-footer".
BTW, acis/presentation/ras is where the templates & phrases are now taken from.
It looks like a change to the xslt is needed to allow script tags in phrase content. I'll see if this is easy to do.
-ivan
On Tue, Sep 6, 2011 at 7:33 PM, Thomas Krichel <krichel@openlib.org> wrote:
'Christian Zimmermann' writes
We use here Google Analytics to understand better who is using the services.
I have added the relevant script to presentation/page.xsl so that is appears at the bottom of every page.
I think it is better to do this using the phrasing mechanism. Add a phrase to phrase-local and refenrence the phrase in page.xsl.
But it does not, I guess because it needs to be sourced. How is that done, short of restarting the server?
Try
/usr/bin/pperl -- -k /home/aras/WWW/cgi/a.cgi
Cheers,
Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
Ivan Kurmanov writes
For now, yes, a change to ~/acis/presentation/ras/page.xsl has done the job (i've shifted the GA snippet to just above the </body> tag).
Can you post this somewhere? Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
participants (3)
-
'Christian Zimmermann' -
Ivan Kurmanov -
Thomas Krichel