1
zerho
News Module
  • 2007/10/29 11:21

  • zerho

  • Just popping in

  • Posts: 12

  • Since: 2007/7/25


Hi
I've got an easy quastion: How can I delete the "Arcive", "Submit News" and "Topics Directory" from the submenu of that module?
Thank you

Zerho

2
MadFish
Re: News Module
  • 2007/10/29 11:38

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


Have a look in news/xoopsversion.php, I think you can just comment out the submenu items in there somewhere.

3
rplima2004
Re: News Module
  • 2007/10/29 11:42

  • rplima2004

  • Just popping in

  • Posts: 70

  • Since: 2004/10/8


Hi zerho,


You can open the file XOOPS/modules/news/xoops_version.php in a text editor and delete or coment the lines above:

Quote:

$modversion['sub'][$i]['name'] = _MI_NEWS_SMNAME2;
$modversion['sub'][$i]['url'] = "archive.php";


Quote:

if ($cansubmit) {
$i++;
$modversion['sub'][$i]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][$i]['url'] = "submit.php";
}
unset($cansubmit);


Quote:

$i++;
$modversion['sub'][$i]['name'] = _MI_NEWS_TOPICS_DIRECTORY;
$modversion['sub'][$i]['url'] = "topics_directory.php";


Regards

4
zerho
Re: News Module
  • 2007/10/29 18:39

  • zerho

  • Just popping in

  • Posts: 12

  • Since: 2007/7/25


Thank you, that was great.
I have anotther easy question, Do you know how change the order of the news menu?
Thanks a lot.

Zerho

Login

Who's Online

225 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits