Is there a way to change the news module name to something else in the dropdown menus and other places it is shown as "News".
I'm using it for something slightly different and want to change it to something that will make more sense to my client.
Thanks
Jon
News module - change name in the admin menu?
-
cyberman
Re: News module - change name in the admin menu?
It's very simple too - please look at modules language file (e.g. modules/news/lang/en_US.php), open it with your favourite editor and search for string 'news' and change it to whatever you want (1 or 2 times)
.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: News module - change name in the admin menu?
actually, you should be able to create a file called
(modules_custom/News/lang/en_US.php )
CORRECTED: /module_custom/News/lang/en_US.php
and just add the strings that you want to change. like for example:
$lang['friendlyname'] = 'myNews';
this way, when the news module is updated, your changes won't be lost.
(modules_custom/News/lang/en_US.php )
CORRECTED: /module_custom/News/lang/en_US.php
and just add the strings that you want to change. like for example:
$lang['friendlyname'] = 'myNews';
this way, when the news module is updated, your changes won't be lost.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
cyberman
Re: News module - change name in the admin menu?
Is this a new feature to support this folder?calguy1000 wrote: modules_custom/News/lang/en_US.php
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: News module - change name in the admin menu?
No, it's been in since the 0.11 days I think. I placed it in for this purpose, so you could override individual strings, etc. without having to worry about losing your changes on the next upgrade.
cyberman wrote:(modules_custom/News/lang/en_US.php )calguy1000 wrote: modules_custom/News/lang/en_US.php
CORRECTED: /module_custom/News/lang/en_US.php
Is this a new feature to support this folder?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
cyberman
Re: News module - change name in the admin menu?
Hmm, great ... but never read yet somewhere in docu / forum or so othercalguy1000 wrote: No, it's been in since the 0.11 days I think. I placed it in for this purpose, so you could override individual strings, etc. without having to worry about losing your changes on the next upgrade.
Thx!
-
cyberman
Re: News module - change name in the admin menu?
It work's not in v0.13 with an external language
...
