Page 1 of 1

Inserting 3 different menu's

Posted: Wed Nov 23, 2005 9:38 pm
by Anduril
Is it possible to insert 3 differnet menu's in CMS?
I want one menu for admins (which only shows up when loggin in as admin)
and one menu for users (which shows up for admins and users)
Finally I want 1 menu for all viewers of the site...

How can i manage this?

Re: Inserting 3 different menu's

Posted: Thu Nov 24, 2005 6:24 am
by Anduril
I'm already using that module to show or not show the 3 menu's but The problem is that i can't seem to maken 3 different menu's in CSS or something...

Re: Inserting 3 different menu's

Posted: Thu Nov 24, 2005 3:05 pm
by calguy1000
and the latest versions of CustomContent work with FrontEndUsers module which does not tie into the cms user database, but creates it's own, therefore you can't use it to show custom content for admins that easily.  You should have no problem creating three different menu's though

{cms_module module=CssMenu ...}
{cms_module mdoule=BulletMenu ...}
{cms_module module=EllNav ...}

Re: Inserting 3 different menu's

Posted: Thu Nov 24, 2005 6:24 pm
by Anduril
But if my page index looks like this:

1 Home
  1.1 Abc
  1.2 Def
2 Ghi
  2.1 Jkl
  2.2 Mno
3 Pqr
  3.1 Stu
  3.2 Vwx
4 Yz
5 Adm
  5.1 Adm 2
  5.2 Adm 3
6 Abc
  6.2 Def

Isn't it possible to show page 1 to 4 in one menu (start_element, end_element???) and Page 5 in an sepparate menu and Page 6 again in a different menu?

Re: Inserting 3 different menu's

Posted: Thu Nov 24, 2005 6:26 pm
by calguy1000
possibly yes (I haven't tested), but you won't be able to test for admin access with CustomContent as it does not tie in to the cmsms user tables.

Re: Inserting 3 different menu's

Posted: Thu Nov 24, 2005 8:19 pm
by Anduril
OK, but the idea is to do it like this...

Code: Select all

{cms_module module=FrontEndUsers}
<br>
{cms_module module=CustomContent}
<!--customContent: startif group=Admins -->
<table width="150" border="0" cellspacing="2" cellpadding="1">
<tr>
<td colspan="2" class="menutop">ADMIN<strong>menu</strong></td>
</tr>
<tr><td align="center">
     <div id="menu_vert">
     {cms_module module='cssmenu' showadmin="1" start_element="5" end_element="6"}        
     </div>
</td></tr></table>
<br>
<!--customContent: endif -->
<!--customContent: startif group=Admins,Users -->
<table width="150" border="0" cellspacing="2" cellpadding="1">
<tr>
<td colspan="2" class="menutop">USER<strong>menu</strong></td>
</tr>
<tr><td align="center">
     <div id="menu_vert">
     {cms_module module='cssmenu' start_element="4" end_element="5"}        
     </div>
</td></tr></table>
<br>
<!--customContent: endif -->
So the same menu is entered twice, but the start_element should be different.... Is it possible and will the end_element work...

http://dndlog.jotaenschede.nl

The if functions are working and it is showing the appropriate menus for the different usergroups...

Re: Inserting 3 different menu's

Posted: Sat Jan 21, 2006 2:36 pm
by liriel
I have the same problem - work not properly.

Re: Inserting 3 different menu's

Posted: Sat Jan 21, 2006 8:19 pm
by Essie
I find the module a bit confusing to learn myself too.  So I got around with it by using the html_blob (I think that's how it is spelled) instead.  I basically created a bunch of links and attached it to the template.  IMHO, I find this method much easier to approach.  Just my 2 cents.

Essie

Re: Inserting 3 different menu's

Posted: Thu Feb 09, 2006 4:16 pm
by LeisureLarry
With the new beta you can have three or more menus using the item-parameter. Just hide the entries for the two standrd menus and them to a new menu with the above parameter.