Inserting 3 different menu's

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Anduril

Inserting 3 different menu's

Post 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?
Anduril

Re: Inserting 3 different menu's

Post 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...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Inserting 3 different menu's

Post 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 ...}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Anduril

Re: Inserting 3 different menu's

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Inserting 3 different menu's

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Anduril

Re: Inserting 3 different menu's

Post 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...
Last edited by Anduril on Thu Nov 24, 2005 8:21 pm, edited 1 time in total.
liriel

Re: Inserting 3 different menu's

Post by liriel »

I have the same problem - work not properly.
Essie
Forum Members
Forum Members
Posts: 27
Joined: Sat Jan 21, 2006 8:13 pm

Re: Inserting 3 different menu's

Post 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
[url=http://"http://feeds.feedburner.com/Vancouver_Psychics_Journey]A Vancouver Psychic's Journey Blog[/url]
LeisureLarry

Re: Inserting 3 different menu's

Post 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.
Locked

Return to “Modules/Add-Ons”