1
tripnosis
Changing submenu text?
  • 2005/9/18 10:26

  • tripnosis

  • Just popping in

  • Posts: 42

  • Since: 2005/4/28


I am trying to customize a site for a fansite, and am stumped. Does anyone know how to change the submenu text for a module?

For example, the news module. In the main menu, it displays in the mani menu as "news". When you click it, you get the submenu items:

Submit News
Archive

How would I go about changing it so it says "Submit Article", or "Submit a story"?

I realize there is no difference between "story" and "news", it's just the example I used.
"There is no element of genius, without some form of insanity."
Lyra Design
Vote Trip in '06!

2
Shine
Re: Changing submenu text?
  • 2005/9/18 10:50

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Very simple....by adjusting the language file(s) of the specific module.

Grtz., Shine

3
tripnosis
Re: Changing submenu text?
  • 2005/9/18 11:08

  • tripnosis

  • Just popping in

  • Posts: 42

  • Since: 2005/4/28


Quote:

Shine wrote:
Very simple....by adjusting the language file(s) of the specific module.

Grtz., Shine


Wow, that does help, thanx.

But I can't get any of the changes to the sub menu items to take. I found where it resides, in main.php, in the language folder, but even tho I changed:

define("_WFS_POSTNEWARTICLE","Submit Article");


to

define("_WFS_POSTNEWARTICLE","Submit Issue");


it doesn't change the submenu items for the module. It still says "Submit Article". I tried refreshing the module, but am pretty sure you don't need to refresh the mosule for a PHP code edit. Am I missing something?
"There is no element of genius, without some form of insanity."
Lyra Design
Vote Trip in '06!

4
Shine
Re: Changing submenu text?
  • 2005/9/18 14:18

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


admin/modules-> update the news module
This should do it.

5
Mithrandir
Re: Changing submenu text?

Nope.

The constant you are looking for is in modinfo.php
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Login

Who's Online

445 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 445


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits