Changing navigation menu item names?

Can someone give me clear, step-by-step instructions on how to change navigation menu item names?  I'd like to change all of the items in the "profile" dropdown so they say "my profile", "my info", etc.

I've been searching the forums and seen posts suggesting a couple of methods but they don't work for me.  If I just change the "Default name" field it says "saved" but then reverts to default. Is there something on the site here that explains what the individual fields mean/do?

Thanks!

Al

Quote · 27 Feb 2010

Administration > Builds > Navigation Menu - Rearrange the items, then view their properties to see the language key it represents.

Administration > Settings > Languages - Search for the language key from the menu property and edit it to whatever you like.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 27 Feb 2010

Thanks for your quick reply Magnussoft!

I'm really surprised by how poorly designed the admin interface is.  Should I really have to go through that ridiculous process to change something so basic?  And why are there editable field in the properties dialogs for the individual Navigation Menu items if they're not editable that way?

Anyway: for others having this problem a more step-by-step explanation:

Go to "Builders > Navigation Menu" and find the item you want to change the text that your users see in the Navigation Menu of.

Click on that item and an "edit item" dialog will pop up. Highlight and copy the text in the "Language Key" field.

I didn't find Magnussoft's suggestion of doing the editing in "Administration > Settings > Languages" to be helpful - when I searched for the items using the really, really poorly-designed "Manage Keys" search field (if you type or paste something in it and hit your return/enter key on your keyboard it generates a PHP error message - you have to check the "apply" box instead") it wasn't returning the items I needed and the naming conventions were confusing.

I figured that directly editing the language file via FTP would be easier so I opened up the lang-en.php file inside the langs directory in my Dolphin install, and, after making a backup copy of it, used the search function to find the items I needed to edit.  So for instance: the  line for "Profile" has a language key like this: _Profile

I found that line in the lang-en.php file and it looked like this:

'_Profile' => 'Profile',

and I just changed it to this:

'_Profile' => 'My Profile',

and saved the file.

That's what worked for me - I hope it's helpful to others.

Quote · 28 Feb 2010

I found that line in the lang-en.php file and it looked like this:

'_Profile' => 'Profile',

and I just changed it to this:

'_Profile' => 'My Profile',

and saved the file.

That's what worked for me - I hope it's helpful to others.

And i think as soon as your languages are recompiled, that file will get over written. Keys are supposed to be edited from the admin or edited from a file and imported into the admin so the updated keys are in the database so things don't get screwed up when the language is recompiled.

Unless of course that file and the langs directory do not have writable permissions. In that case a error will ocure when trying to compile the languages.


https://www.deanbassett.com
Quote · 28 Feb 2010

Thanks Deano - I was wondering if there was some reason why my brilliant solution might actually be really stupid ;)

If I download the lang file I edited via FTP and then upload it using the "import" function in the "create new" box in the "Manage Languages" section will that solve the problem?  I guess I'd have to delete the existing lang-en.php file using the admin interface and then upload the new one?  Can you delete a language file if you only have one installed?

It's so much easier doing the edits directly to the .php file instead of going back and forth between "Builders > Navigation Menu" and "Administration > Settings > Languages"  - I'd like to continue to do that if I want to make more changes.

Thanks!

Al

Quote · 28 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.