Author |
Message |
27/12/2003 21:13:44
|
Anonymous
|
Hi
I'm using the advanced guestbook (2.2) on Lunarpages (host) and am unable to figure out how to modify these files: $LANG[BookMess6] and $TPL[GB_JUMPMENU]
I would like to change the 'bookmess6' to read differently than the default script (text) that is currently there. I would also like to add a link back to my website in the dropdown located in $TPL[GB_JUMPMENU]
Any guidance would be *greatly* appreciated!
Thanks...
|
|
28/12/2003 10:45:11
|
Jam'n
Graduate
Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline
|
To change the bookmess6 take a look in the language folder and change it.
and on your second question:
Here is what you have to do:
1.) open /guestbook/lib/gb.class.php in your favorite ascii editor
and look for the Jumpmenu code. It starts around line 73
Replace http://www.mydomain.com/ with your homepage URL
2.) Now to add a javascript function to the guestbook header
go to your templates folder and find header.php and add this between the <head>Put below code somewhere between these</head> tags
It works, I have tried it. for the other links though, you will not be using the "Go" button, as it is an auto-jump select type
I don't use it on my site, because I don't need it.
|
Jam'n
------------------------------------------------
Only the man who's truly educated
understands that he knows very little...
------------------------------------------------ |
|
31/12/2003 02:07:12
|
Anonymous
|
Hi Jam'n... thanks for all your help.. before reading your reply I broke the code myself after a long while. I realized that the jump menu was meant for the numbered pages in the guestbook (ie: entries 1 - 20, 21 - 22, etc), not to add new links to other pages, so I simply made my logo the 'link' back to my home page.
I had looked all over for the bookmess6, including in the language folder, and it was no where to be found.. so I simply overrode the whole thing and typed my text straight in.
The beginners way, but done to my liking!
Thanks again.....
|
|
17/02/2004 12:47:23
|
Anonymous
|
An easyier way is to remove LANG Bookmess maually and type your own links direct to the template. Dont wory about font style classes they will match other text already there as span is applied to table cell.
###Easy####
|
|
22/06/2004 15:51:30
|
Anonymous
|
I have looked hard myself for this bookmess in lang. Finally, I found out it was in the local language file. For example, if you use English for your guestbook, you have to open english.php file for all the customizable texts.
-Yiyan
|
|
|