1
Xtracted
News as start module, annoying submenus..
  • 2005/1/10 14:25

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Howdy folks.

If you use the news module as start module on a XOOPS page, the submenus for news are automaticly displayed. I dont want this, but I want the news appearance as it is when set to startpage. I dont really like the other news blocks available, is there any way to get the last news displayed in a block with the same appearance as in the news module itself.. I really dont want the submenus displayed by default on my startpage..

2
rcjohnson
Re: News as start module, annoying submenus..
  • 2005/1/10 15:25

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Im not sure if this is what your looking for, but....

Go to your SysAdmin | Modules | news | Preferences.

Under Module Config Options, you'll see a line: "Select Yes to display navigation box at the top of each news page", change teh value to "NO".

3
Xtracted
Re: News as start module, annoying submenus..
  • 2005/1/10 15:28

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


No, I am talking about the submenus in the main menu. When using the news module as start page, its the same as if you would click the news module in the main menu. It displays the modules submenus under the module menu in the start menu.

I assume that I would need a block that displays the news the same way as they are displayed in the main news module..

4
tjnemez
Re: News as start module, annoying submenus..
  • 2005/1/10 15:53

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


what version of news are you using?

5
Xtracted
Re: News as start module, annoying submenus..
  • 2005/1/10 16:03

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


1.1

6
tjnemez
Re: News as start module, annoying submenus..
  • 2005/1/10 16:11

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


This is how i remove sub menus

edit news/xoops_version.php around line# 91

// 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";

Replace above with this:

// 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";

7
Xtracted
Re: News as start module, annoying submenus..
  • 2005/1/10 16:16

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Yeah, but I dont want to remove the submenus from the module, I just dont want them displayed when I have the module as a module for my startpage.

8
tjnemez
Re: News as start module, annoying submenus..
  • 2005/1/10 16:23

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


this prevents them from being dynamically displayed only. you can manually add links if you want your users to still have access.

Login

Who's Online

298 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 298


more...

Donat-O-Meter

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

Latest GitHub Commits