Loading...
 
Skip to main content

Themes


Where is the world does my Java go!?

Hi friends!

I have a snippet of Javascript code that I need to insert into my tiki site that effects the entire site.

The snippet comes from here http://www.logos.com/reftaggerQuestion

Basically, all the directions say is the following to make this bit of code work:

If you manage a blog or another website, you can easily add RefTagger by putting a few lines of code into the footer of your template file(s). Use the form below to customize RefTagger to function the way you wish. The JavaScript code is automatically generated for you. Copy the code from the text box and put it right before the closing body tag: . RefTagger will begin working immediately.

Question is, where do i need to properly place this in order to make this whole thing work?

I really appreciate all help and advise on this....

God bless....

Hi,

The closing body tag is in templates/footer.tpl. Since this is a Smarty template, the Javascript needs to be preceded by {literal} and followed by {/literal}.

-- Gary


That's a negative. I tried that. what i get is the code snippet in my header above my site banner in text form.

Any other options?

the {literal} tag, is there a specific manner that I need to have this?

Thanks for your help on this regardless.

God bless...


...when I look back at the code it seems that Tiki is inserting an in between "sc" and "ript"....very very odd....

its not showing here but it is inserting an < x > it didnt show up above....

Ok, i figured this out. What needs to happen is in the future, in the java scrip code needs to {literal} tag, it needs to go in the "look and feel" section where you can add code into the custom footer. Thanks for your input on this chibaguy.

God bless...

Oh, sorry, I forgot about the footer custom code, which is relatively new. That works OK? No problem with the x? If so, I'm happy to hear. 😊

-- Gary