1
NVDR
sublink in main menu
  • 2003/10/24 21:59

  • NVDR

  • Just popping in

  • Posts: 10

  • Since: 2002/8/23


i would like to create a sublink for the newbb module in the main menu, so that there is a link to the unread posts search
i searched, but i can't seem to find where to add this?

2
Anonymous
Re: sublink in main menu
  • 2003/10/24 22:06

  • Anonymous

  • Posts: 0

  • Since:


It should look like this:

Quote:

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


You will find this code in xoops_version.php of the news-module (just an example).

3
NVDR
Re: sublink in main menu
  • 2003/10/24 22:16

  • NVDR

  • Just popping in

  • Posts: 10

  • Since: 2002/8/23


damn, that easy and i overlooked it... thx m8! :)

4
Shine
Re: sublink in main menu
  • 2003/10/26 10:57

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


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



Let's say you've created some categories and want some of them appear as a mainmenulink instead as a sublink. Would this also be possible? If so, how should the above code look?

Grtz., Shine


Login

Who's Online

195 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

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

Latest GitHub Commits