1
zzznn
can someone hack the menu?
  • 2004/1/8 21:34

  • zzznn

  • Just popping in

  • Posts: 5

  • Since: 2004/1/5 2


ok i got a lot of probleme with the menu because i want to break it in 4 sections with subs menu in and i cant!!!
i try by adding a custom block but didnt really work.
so would be reall cool if someone could help on that.

thanks.

PS: by the way i create a block, and i want to delete it but i cant find it any where on the administration menu!?!? so where are the block in the server, wich directory.

Thanks again.

2
davidl2
Re: can someone hack the menu?
  • 2004/1/8 22:44

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Download multimenu. set links in multimenu as you want. set everything you dont want to appear in main menu to zero - but leave enabled. job done.

Or simply hide the block of the main menu when you've set up your multimenu.

3
CBlue
Re: can someone hack the menu?

To search for all blocks in blocks admin, try using the webmaster option for viewing in the drop down menu. Then you should see all blocks and can delete the ones you don't want.

4
zzznn
Re: can someone hack the menu?
  • 2004/1/9 23:17

  • zzznn

  • Just popping in

  • Posts: 5

  • Since: 2004/1/5 2


the problem is that u cant have subs menu with multi menu and i want some!!!
so i asked if someon could hack multi menu.

thanks

5
JackJ
Re: can someone hack the menu?
  • 2004/1/10 0:33

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I have not worked with multimenu, but I do have an HTML method using custom blocks. See Here

Or, to add other links to the main menu see
Here

Each module has an xoops_version.php file in it that controls submenus, have a look at this thread Here to see how it works.

You can add more sub-menus to a module:

News Xoops_version.php, look for code like this:

global $xoopsUser;
if ( $xoopsUser ) {
$newsModule = XoopsModule::getByDirname("news");
if ( $xoopsUser->isAdmin($newsModule->mid()) ) {
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
}
}

You could add another two lines to link to another XOOPS module i.e.

global $xoopsUser;
if ( $xoopsUser ) {
$newsModule = XoopsModule::getByDirname("news");
if ( $xoopsUser->isAdmin($newsModule->mid()) ) {
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
$modversion['sub'][1]['name'] = your module language define;
$modversion['sub'][1]['url'] = "whatever.php";
}
}

If you need individual help constructing a custom block using html post the code or links you need, or ask at my site or whatever

Login

Who's Online

237 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

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

Latest GitHub Commits