How to change name of buttons?

I want to change the name of my news button.

Quote · 21 Jan 2016

Admin/Builders//Navigation Menu/Edit Item

Select News by clicking name in block.

 

See attachment

 

Edit third item Default Value in dropdown:  Don't touch anything else.

 

news.jpg · 21.9K · 346 views
Quote · 21 Jan 2016

Hi Vashan,

 

The other option is to edit /modules/boonex/news/install/langs/en.php

 

Now locate: _news_top_menu_item and change the News to what ever you want.

 

Now go to /administration/modules.php (Admin/Modules/Add & Manage Modules) select the News option and click Recompile Language(s).

 

Also if this is a new installation you could also edit /modules/boonex/news/install/sql/install.sql locate 0, 'News', '_news_top_menu_item', (around line 99) and change the news to what ever you want.

 

This will all change the title of the link to What Ever.

 

Gew

Quote · 22 Jan 2016

@Gew, That's really making hard work of what is essentially a very easy job. Not only that, if the module is ever updated, all the code changes will be lost.

 

Why would you want to go to all this trouble when you can change the name(s) in ten seconds by following the correct procedure?

Quote · 22 Jan 2016

 

@Gew, That's really making hard work of what is essentially a very easy job. Not only that, if the module is ever updated, all the code changes will be lost.

 

Why would you want to go to all this trouble when you can change the name(s) in ten seconds by following the correct procedure?

Hi Demmy,

 

I just put that out there to give the option.  Editing the en.php file is the best way forward as if you ever do a language recompile, you don't loose the changes made compared to using languages settings as this don't update the en.php file.

 

If like me I have changed several of my mods to reflect how I want my site to look and feel, I have created a file on each mod showing what I have changed so in the future I can upgrade without issue.

 

Thanks for your comments though.

 

Gew

Quote · 22 Jan 2016

Thank both of you  very much I will try the easy way first because Im really have no clue how to do things like this.

Quote · 24 Jan 2016

Hi sorry the easy way is not working it keeps switching itself back to news how could I get the step by step way how to change the php is that in the cpanel?

Quote · 24 Jan 2016
 
 
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.