Different main menu per acl

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Oct 27, 2013 6:59 pm
Reply with quote
Report this post
Hi
I would like to have different main menu per access group.
Is this possible? I am confused as to how to setup this.
User avatar
Expert Boarder

GK User
Sun Oct 27, 2013 8:36 pm
Reply with quote
Report this post
Hi,
in theory it's possible - soon it will be easy to set. Module ACL will be one of the many great new features and improvements of Joomla 3.2, that is planned for release on November 6th, 2013.

But in Joomla 2.5 - hmm - it needs some work or/and customization.

There are at least two possibilities:
(1) Build Menu with different items for different group of users - this is quite easy but may not be sufficient for your needs.
User avatar
Platinum Boarder

GK User
Sun Oct 27, 2013 8:41 pm
Reply with quote
Report this post
(2) Or you have to replace our menu in template with default module position - there you can publish a menu module - than you can use extension "Advanced Module Manager" (nonumber.nl) - which allows you to assign module(s) for User Group Levels or single Users.

This requires editing only one file: gk_storebox\layouts\default.php

Note: Lets face the fact, its not possible for us to provide customization support for free, because customization is not regular Template support.
User avatar
Platinum Boarder

GK User
Mon Oct 28, 2013 9:09 am
Reply with quote
Report this post
I have pro subscription for advanced module manager so i guess the 2nd solution will be best. Now can i get this change request?
User avatar
Expert Boarder

GK User
Mon Oct 28, 2013 10:50 am
Reply with quote
Report this post
I can help you only with small tips, I hope that you know why.

1) http://www.gavick.com/documentation/joo ... -position/

2) You have to edit this file: templates/gk_storebox/layouts/default.php
---> desktop menu starts from line ~97

Code: Select all
    <?php
   $this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
   $this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
      ?> 


In this place you have to insert custom module position, than publish there a menu module(s)


3) If you don't have time or knowledge - please add new topic , with " -- I need custom work to be done".
In this week I can not help you more. Sorry.
User avatar
Platinum Boarder


cron