Adding code to the header and footer

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
jaap
Posts: 54
Joined: Sat May 06, 2006 1:54 pm

Adding code to the header and footer

Post by jaap »

Version of script:1.7
Hi,
I use Zoom Search Engine on a website and to display the search results in yellow I have to add a few lines of code to the page.
The first two lines into the head so I put them in the header.txt but one line has to be at the bottom of the page below the </HTML> tag.
I cannot find a way to place the code there.
Any suggestion ?

Jaap.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Jaap,

Code that needs to be in the <head>...</head> section of the page should not be placed in the header.txt file. Code in the header.txt file will be displayed directly below the <body> tag.

Code to be placed in the <head>...</head> section can be placed in the overall_header.php file found here templates/default/overall_header.php

Code to be placed below the </html> tag is weird, but if you really need it, it can be placed in the overall_footer.php file found here templates/default/overall_footer.php

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
jaap
Posts: 54
Joined: Sat May 06, 2006 1:54 pm

Post by jaap »

Hi Henrie,
That worked perfect :)
Thanks,
Jaap.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Glad it worked.

I am working on the thank you mail for the visitors. I knew you had posted the question before, but could not find the post anymore. And in the new guestbook it is a little more work, but it is coming.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply