1
powermancj
changing submenu
  • 2005/3/9 3:51

  • powermancj

  • Just popping in

  • Posts: 3

  • Since: 2005/2/15


On my news module i changed the title to fishing reports, when i click on fishing reports under the menu it opens 2 submenus that say "submit news" and "archive". How do i change it to say "submit reports"?

2
hyperpod
Re: changing submenu
  • 2005/3/9 3:57

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


simply edit the /modules/news/xoops_version.php file.
do a find/search for 'submit news' and change it to what you need.



Best Regards,

3
powermancj
Re: changing submenu
  • 2005/3/9 4:19

  • powermancj

  • Just popping in

  • Posts: 3

  • Since: 2005/2/15


i searched through that file and i couldn't find "submit news" however i did find // Menu
$modversion['hasMain'] = 1;
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
$modversion['sub'][2]['name'] = _MI_NEWS_SMNAME2;
$modversion['sub'][2]['url'] = "archive.php";

i tried changing MI_NEWS_SMNAME1 to submit report and the site gave me an error.

4
hyperpod
Re: changing submenu
  • 2005/3/9 4:22

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


/me slaps forehead... oh yeah

sorry bout that...

Thats a language var...

leave it like it was...


And go into:

/modules/news/language/english/modinfo.php

and then edit that ...should do it..

Hope that helps,

Login

Who's Online

208 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

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

Latest GitHub Commits