Author |
Message |
06/10/2004 15:43:45
|
waterdene
Newbie
Joined: 06/10/2004 15:35:17
Messages: 2
Location: Spain
Offline
|
I have trawled the forum, but cannot find what I am looking for. I have replaced the "Guestbook" gif with my own and I want to link it to my forum at http://www.benal-life.com/forum.
Any help please on what I must do and where to do it?
I have made several changes using the advice in this forum, and many thanks to those of you with the knowledge and patience give us new to php the step by step guides that we need,
Cheers,
John
|
|
06/10/2004 17:25:32
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Look in templates/header.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/10/2004 20:08:28
|
Anonymous
|
Carbonize wrote:Look in templates/header.php.
I can manage that - but what coding is needed to make the link?
|
|
06/10/2004 20:35:57
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
06/10/2004 21:08:06
|
Anonymous
|
Carbonize wrote:
I am obviously missing the point. After spending hours sifting through one line answers that I do not understand you have responded (albeit kindly) with two more. Could I request that answers to reasonable questions are responded to in a manner that is understable to beginners and those new to php. In the long run this would shorten the search procedures considerably and perhaps your frustrations when dealing with us "dummies"
I can understand that you do not like answering ther same questions repeatedly, but a fuller answer would eliminate the misunderstandings. Some of us are REALLY trying to learn and we appreciate your efforts,
thanks,
John
|
|
06/10/2004 21:30:41
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The templates are in plain html and not php. The only bit of php in them are the variables and they all start with a $ such as $LANG[FormSelect]. I admit I got the file wrong as it's in body.php and not header.php but the code you need to edit is
As you can see it is just plain HTML with a single variable in it $GB_PG[base_url]. The Guestbook was written in such a way as to make it easy for users to customise by keeping the templates as plain HTML.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
07/10/2004 09:07:27
|
waterdene
Newbie
Joined: 06/10/2004 15:35:17
Messages: 2
Location: Spain
Offline
|
Carbonize wrote:The templates are in plain html and not php. The only bit of php in them are the variables and they all start with a $ such as $LANG[FormSelect]. I admit I got the file wrong as it's in body.php and not header.php but the code you need to edit is
As you can see it is just plain HTML with a single variable in it $GB_PG[base_url]. The Guestbook was written in such a way as to make it easy for users to customise by keeping the templates as plain HTML.
OK - I have already changed the graphic. The problem I have is how to link it to my forum URL
|
|
07/10/2004 09:18:47
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
This is how you do it.
<A href="http://www.link to site here.com/" target="_top">
<img src="http://www.link to image here.com" border="0"></a>
|
LINK-> Use Lazarus Guestbook |
|
07/10/2004 11:17:28
|
Anonymous
|
JTD wrote:This is how you do it.
<A href="http://www.link to site here.com/" target="_top">
<img src="http://www.link to image here.com" border="0"></a>
Thanks,
this is how I modified the link to add text above and below the image.
Text additions were made in (lang/english.php) and placed into (body.php) as below.
I had already uploaded the image file into the (img) folder
I know that this is obvious to you guys - but if you could include the folders and files we should be looking in it would be a great help
<b>$LANG[BookMess55]</b><p>
<td width="40%" valign="bottom" align="left">
$LANG[BookMess44] <A href="http://www.benal-life.com/forum" target="_top">
<img src="$GB_PG[base_url]/img/forumbutton.gif" border="0"></a> $LANG[BookMess66]
My problem sorted, thank you both for your efforts,
Cheers,
John
|
|
|