Jump to content
thirty bees forum

Where to add html before end of head & body tags for individual pages?


alwayspaws

Recommended Posts

  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

@ssimard said in Where to add html before end of head & body tags for individual pages?:

The closing body tag is located at the END of your page, it's normal.

The header.tpl is just for the header.

Oh!!!! That makes sense! I'm not used to piecemeal. I had an index page on my old site that I edited every couple of days and knew exactly what I wanted and where I wanted it.

Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

@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?

Link to comment
Share on other sites

@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!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...