extra link in the header

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

extra link in the header

Post by jaap »

Script URL:
Version of script: 1.7

Hi,

Is it possible to add an extra link in the header, I mean next to the view guestbook and sign guestbook links ?

Thanks,

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

Post by Henrie »

To add an extra link in the head part of GBook, you can do this by opening the overall_header.php file found here templates/default/overall_header.php

Find the following code (starting at line 34 for template shipped with gbook version 1.7)

Code: Select all

<a href="<?php echo $settings['website_url']; ?>"><?php echo $settings['website_title']; ?></a> |
<a href="gbook.php"><?php echo $lang['t60']; ?></a> |
<a href="gbook.php?a=sign"><?php echo $lang['t48']; ?></a>
You can add links like this:

Code: Select all

<a href="http://www.domain.com/newpage1.html">absolute link placed before other links</a> | 
<a href="<?php echo $settings['website_url']; ?>"><?php echo $settings['website_title']; ?></a> |
<a href="gbook.php"><?php echo $lang['t60']; ?></a> |
<a href="gbook.php?a=sign"><?php echo $lang['t48']; ?></a> |
<a href="../newpage1.html">relative link placed after other links</a>
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