I want to change the name of my news button.
I want to change the name of my news button. |
Admin/Builders//Navigation Menu/Edit Item
See attachment
Edit third item Default Value in dropdown: Don't touch anything else.
|
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 |
@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? |
@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 |
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. |
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? |