1
BradM
Custom menu which acts like the Xoops menu
  • 2003/12/13 6:39

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


Hi,

I can't seem to find a custom menu builder which creates a menu much like the way XOOPS builds its menus.

For "mymenu", you can only add a link to the main module page. However, when you visit the page, the sub-links do not appear under the main link. If I were to add all the sub-links individually, they'd always be visible, which clutters up the page.

Any ideas or hacks available? I looked at the code in module.php, but was at a loss as to how it could be incorporated into mymenu.


Thanks,
Brad

2
hsalazar
Re: Custom menu which acts like the Xoops menu
  • 2003/12/15 2:11

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Brad:

Take a look at WF-Channel, one of Catzwolf's modules. It's available here.

When you have it in your hands, pay attention to the way xoops_config.php is written. You have there the perfect example of how to use a little logic and a lot of imagination to build dynamic submenus.

Cheers.

3
JackJ
Re: Custom menu which acts like the Xoops menu
  • 2003/12/15 2:30

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Or you could try This

4
hsalazar
Re: Custom menu which acts like the Xoops menu
  • 2003/12/15 3:07

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


JackJ:

The thread you mention deals with the styling of a menu option, not with the dynamic generation of suboptions. So, it would be the path to follow to style the options, but NOT to generate them dynamically depending on the module.

Cheers.

Login

Who's Online

206 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

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

Latest GitHub Commits