@ssimard said in Where to add html before end of head & body tags for individual pages?:
And see if it works ;-)
That's the operative key phrase! Thanks!
tag in footer.tpl. Here you can insert the footer script.
Then the code will be loaded on every page.
@ssimard said in Where to add html before end of head & body tags for individual pages?:
And see if it works ;-)
That's the operative key phrase! Thanks!
@marci123 said in Where to add html before end of head & body tags for individual pages?:
@alwayspaws usually you will find the the tag in the file header.tpl. If you put javascript in a tpl file you will have to wrap it in {literal}here comes your script {/literal}
you will find the closing tag in footer.tpl. Here you can insert the footer script.
Then the code will be loaded on every page.
@marci123 thanks for joining us and for clarifying for me, exactly how to do that! Now I just need to figure out the best spot for it.
Any ideas, people?
Should I delete the code from my post?
@marci123 said in Where to add html before end of head & body tags for individual pages?:
If you put javascript in a tpl file you will have to wrap it in {literal}here comes your script {/literal}
Oops indeed, sorry forgot to mention that part.
@ssimard said in Where to add html before end of head & body tags for individual pages?:
@marci123 said in Where to add html before end of head & body tags for individual pages?:
If you put javascript in a tpl file you will have to wrap it in {literal}here comes your script {/literal}
Oops indeed, sorry forgot to mention that part.
:) @ssimard - this is why everything is a team effort! Appreciate it!
@alwayspaws said in Where to add html before end of head & body tags for individual pages?:
I'm not yelling but: SHOULD I DELETE THAT CODE from my post?
SURE WHY NOT ;-p
Just edit the url/image path to something generic ;-)
OK!
Leaving office for home now, i'll check in later or tomorrow to help you out if it's still not working.
Good luck !
@ssimard said in Where to add html before end of head & body tags for individual pages?:
Leaving office for home now, i'll check in later or tomorrow to help you out if it's still not working.
Good luck !
Thanks! Enjoy your evening!
@wakabayashi said in Where to add html before end of head & body tags for individual pages?:
Where you want the logo to show up? In the footer?
Where is it best to put it where it will be noticed?
I would clearly put this in the footer. But not sure if this is best practice or just the way I like it...
Recommended Posts