Thread Like Summary
Gizmo
Total Likes: 1
Original Post (Thread Starter)
by Ruben
Ruben
Looking at this to try.
It requires two code snippets.
I goto html includes
One in the head tag which is obvious.
The second script is supposed to be placed just after the body tag.

Would that be body on load?
Or what.

Or do I need to edit a template.
Liked Replies
by isaac
isaac
Body Onload Event Attributes
This function will be put in the body onload event tag and must be valid JavaScript. Normally this is left blank. However, if you have a special case that requires this, you can specify it here.

Example:
Code
<body onload="myFunction()">
An explanation of the HTML onload event attribute can be found here
https://www.w3schools.com/jsref/event_onload.asp



Header Insert For All Pages
Use for meta tags, JavaScript, analytics code, etc. This will always be inserted in the <head> section.

Example Code:
Code
<meta name="robots" content="follow">
<meta name="keywords" content="forum,community">
<!-- ANALYTICS/ADS CODE - Global site tag -->
<script>...</script>
Description meta tags should be placed within the section below.



Header Insert When Not Displaying a Topic
This will be the default description used for any page that is not a topic.

Example Code:
Code
<meta name="description" content="Our members enjoy discussing things. Come see what all the talk is about.">
For SEO purposes, topic pages automatically generate their own description meta tags.



Default Header
This is shown at the top of every page. It is displayed when the <body> element begins. HTML and PHP allowed.

Example Code:
Code
<!-- HEADER START -->
<img src="https://www.example.com/images/logo.png" alt="Example Name" title="Our Slogan">
<!-- HEADER END -->
<!-- AD BANNER CODE FOR HEADER -->



Default Footer
This is shown at the bottom of every page. It is displayed just before the closing </body> element. HTML and PHP allowed.

Example Code:
Code
<!-- AD BANNER CODE FOR FOOTER -->
<!-- FOOTER START -->
<center>Copyright by Example Website Name</center>
<!-- FOOTER END --> 
1 member likes this
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Add a post to additional forums
by Larry Miller - 01/27/2023 2:58 PM
What happens to modified templates during the upgrade
by Michael_E6D9 - 01/13/2023 2:11 AM
Attachments broken after server migration
by jgeoff - 12/22/2022 3:33 PM
Post Moderation Issue
by FREAK - 11/24/2022 1:07 PM
Users cannot register
by - 07/04/2022 8:42 PM
Who's Online Now
2 members (Larry Miller, Ruben), 195 guests, and 136 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221228)