1
kilars
Multimenu, how to do
  • 2008/1/6 13:42

  • kilars

  • Just popping in

  • Posts: 14

  • Since: 2006/3/26


Hi,

I have installed the Multimenu module 1.9 and cant figure out how to use it. I have been thru other forum topics and also been looking at the available documentation, but still I cant get it to work as I suppose it should work, but it might be me who's wrong.

What I would like to do is:

Have a Block only visible for a Group and with some links, but made as a dropdown list. I tried to illustrate it here :

BLOCK1
2006
link2006-1
link2006-2
link2006-3

2007
link2007-1
link2007-2
link2007-3

2008
link2008-1
link2008-1
link2008-1

So when clicking 2006, the list for 2006 links drops down and a link can be selected.

Thats what I thought could be made with the MultiMenu module, by using the Block part. But how should it be done ?

Regards

Kim

2
McDonald
Re: Multimenu, how to do
  • 2008/1/6 16:54

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


First create a multiMenu 01 block and call it 'navbar'.
Make the following settings for a multi horizontal menu as can be seen here:
Block format: 'CSS Drop down horizontal' / no. of columns 1
Block/D-Menu width: 120
Block height: 160
Random links: No
Link type to display: All

Do not set the cache of this block.

Add the following lines to the file theme.html of the theme you're using:
<div align="left">
         <{foreach 
item=block from=$xoops_lblocks}>
          <{if 
$block.title == 'navbar'}>
           <{
$block.content}>
          <{/if}>
         <{/foreach}>        
       </
div>


Now go to modules->multimenu->multiMenu 01.
Add a new link with type=mainlink and target=self. For subitems of this menu set type=note.
In your case:
2006 = mainlink
link2006-1 = note
link2006-2 = note
link2006-3 = note

2007 = mainlink
link2007-1 = note
link2007-2 = note
link2007-3 = note

2008 = mainlink
link2008-1 = note
link2008-2 = note
link2008-3 = note

You probably have to experiment with one of the css-files of multiMenu to get all style settings as you want.

3
kilars
Re: Multimenu, how to do
  • 2008/1/8 21:39

  • kilars

  • Just popping in

  • Posts: 14

  • Since: 2006/3/26


Hi,

Thanks for the reply.

I tried to follow you description but still cant get it to work.

I have made the multimenu block.

In the theme (Gold) there's already a "foreach item=block from=$xoops_lblocks" section so I havent added a new one. If thats wrong please tell me.

I have added the link's in the MultiMenu 1.

The Block can be seen in the left part of the page, as expected, but the links cant be seen.

If you have a solution it would be great, but I will try to figure it out and experiment with the module.

Thanks again for the reply.

Regards
Kim

4
kilars
Re: Multimenu, how to do
  • 2008/1/8 22:42

  • kilars

  • Just popping in

  • Posts: 14

  • Since: 2006/3/26


Got it

In the Multimenu block there's a red frame saying "Contextual multimenu Yes No"

This was set to Yes, but by changing it to No, the MultiMenu links appears in the MultiMenu block.

So next question : Whats the Contextual multimenu YES used for ?

Added an extra question : Is it possible to modify the layout of the Mainlink's in the Multimenu, the color is purple now, but I would like it to match my themes color. I can see there's a "Dyn. Submenu color:" which is set to #EEE, is that it ?

Thanks again for sending me onto the right track.

Regards
Kim

Login

Who's Online

192 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 192


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