Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:58:09 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: $TEXT['MENU']  (Read 1101 times)
spida

Offline Offline

Posts: 203


« on: February 20, 2007, 04:07:20 PM »

Hello!

I am entirely new to WB (evaluating it since last night) and got stuck with one little thing:
I am experimenting with some different templates, like k2 and landzilla and uccellini. They all tread the menu a little different. I installed show_menu2 btw.

For example, in landzilla the navigation gets a title. The template's code uses the variable
Code:
$TEXT['MENU']

Yet I can't find out where the template draws the variable's value from to insert into the xhtml output. In other words: Currently in the german version the menu title is "Menü". I'd rather have it something like Navigation. So, how or where can I change this?

Regards,
spida
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: February 20, 2007, 05:13:49 PM »

This is pulled from the language file (folder "/languages").

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

spida

Offline Offline

Posts: 203


« Reply #2 on: February 20, 2007, 05:26:01 PM »

Hey Klaus!

Thank you!
I had looked over the file but must have overseen this bit of it. Found it now.

Best wishes,
spida
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #3 on: February 20, 2007, 06:30:15 PM »

Hello,

i would not change this in the languages, cause this is used on different places in WB admin too. Better is to change this in the index.php of the template. Some templates have this hardcoded, some uses a variable from the languages. If you wanna have there an userdefined word it is better to hardcode it then to replace the translation in the languages folder.

Matthias
Logged
spida

Offline Offline

Posts: 203


« Reply #4 on: February 20, 2007, 06:35:02 PM »

Hi Matthias,

your comment is worth a thought, absolutely!

Thank you,
spida
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!