Page 1 of 1

A message to anyone using Xtreme Tracker successfully on a CMSMS site.

Posted: Sun Jul 27, 2008 7:47 am
by burlington
I can't get the Tracker to work on a CMSMS site.

I have followed a suggestion of wrapping the code in {literal} tags but this does not work either.

Xtreme say that the reason their code does not work in my case is that the 'editor' has put all the code on 1 line rather than keeping to the lineage in the code snippet. This, they say, breaks the code.

Any ideas or suggestions would be very welcome.

Thanks

Martin

Re: A message to anyone using Xtreme Tracker successfully on a CMSMS site.

Posted: Mon Jul 28, 2008 12:34 am
by kermit
disable wysiwyg editor in user preferences for gcb's (global content blocks)
add your script (including wrapping it up in {literal} block) to a new global content block
add a tag calling that new gcb in your page instead of the script itself.

alternatively... put the code in the template instead of trying to add it to page content. if it is only for one page and not an entire site, put it inside something like:

{if $page_alias eq 'alias-of-page-to-track'}
{literal}
script here
{/literal}
{/if}

Re: A message to anyone using Xtreme Tracker successfully on a CMSMS site.

Posted: Mon Jul 28, 2008 9:44 pm
by burlington
Thank you Kermit for your time in replying. I will try your suggestions tomorrow and let you know how I get on.

Regards

Martin