If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Changing: $LANG[BookMess6] and $TPL[GB_JUMPMENU] in Guestbk  XML
Forum Index » Support Forum
Author Message
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...
Jam'n
Graduate
[Avatar]

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...

------------------------------------------------
[WWW]
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.....
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####
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum