Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kyovev Friend
    #170734

    The question is more about the t3 framework…

    How can i show 1 menu to the non-registered users and other menu for the registered users?

    for example with the default joomla template i can use the extention “advanced module manager” to show one menu to my guest and another menu to logged registered users.

    how can i do that with ja social (t3 framework v2) ? Is there a way to control the default t3 menu with module mod_mainmenu?

    himangi Friend
    #424842

    Hi,

    I think it wont matter which template you are using, since in any case menus will be created and will be controlled from Joomla itself.

    As I have understood your requirement, you want to show visitors of the site, say Home menu and when a user logs in the site, you want to show Home2 instead of Home menu.

    As far as I know you can not hide a menu item from logged in users in Joomla 1.5 or older. But in Joomla 1.6 & Joomla 1.7 versions you can do that using custom access levels.
    Here is how http://www.joomlahackers.net/joomla-1.6-tutorials/hide-a-menu-module-from-logged-in-users-in-joomla.html

    Hope this helps.

    kyovev Friend
    #424862

    to hide menu i use one very useful tool – advanced module manager. I know how to work with joomla 1.6+ acl, thanks btw for the link 😉

    With advanced module manager i can do exactly what i want.. the problem is that i don’t understand how t3 is dealing with mod_mainmenu.

    for example i do not have any published mod_mainmenu module, but i have working horizontally menu. this is my website http://www.razberi.info

    which is the module position for the horisontally menu?

    himangi Friend
    #424866

    Hi,

    Please note that JA uses its own menu display system and the horizontally aligned menu you see at the top is embedded in the template and Ja templates do not use any menu module to display the primary menu shown at top.

    From the template > Profile settings you can choose the way you want to show the menus and submenus, that is using cssmenu / megamenu/ dropline menu etc., as shown in the attached screenshot.


    1. Screenshot
    kyovev Friend
    #424872

    but what if i want to stop it?what if i don’t want to display horisontally menu? how can i stop it?and what is the name of the module position where the default horisontally menu is displayed?

    himangi Friend
    #424888

    If you want to remove it you can follow the steps below.

    1. Go to Extensions > Templates > JA Social
    2. I assume you are using default profile without changing the original layout associated with it. Therefore you must be using the Default layout.
    3. Go to Layouts Tab and click on the Edit link in front of Default layout.
    4. Find <block name=”mainnav” type=”mainnav”></block> in the layout and remove it.
    5. Put <block name=”newposition” type=”modules”>newposition</block> from where you removed the mainnav code. This will create a new position ‘newposition‘ at the same place as the original horizontal menu. You can publish a mod_mainmenu module there now.
    kyovev Friend
    #424889

    This was very useful, thank you.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  kyovev 13 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum