-
AuthorPosts
-
kyovev Friend
kyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
November 15, 2011 at 11:22 pm #170734The 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 Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
November 16, 2011 at 6:59 am #424842Hi,
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.htmlHope this helps.
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
November 16, 2011 at 9:25 am #424862to 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 Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
November 16, 2011 at 9:42 am #424866Hi,
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.
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
November 16, 2011 at 10:11 am #424872but 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 Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
November 16, 2011 at 11:45 am #424888If you want to remove it you can follow the steps below.
- Go to Extensions > Templates > JA Social
- I assume you are using default profile without changing the original layout associated with it. Therefore you must be using the Default layout.
- Go to Layouts Tab and click on the Edit link in front of Default layout.
- Find <block name=”mainnav” type=”mainnav”></block> in the layout and remove it.
- 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.
1 user says Thank You to himangi for this useful post
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
November 16, 2011 at 11:49 am #424889This was very useful, thank you.
AuthorPostsViewing 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
How can i do this with T3 framework ?
Viewing 7 posts - 1 through 7 (of 7 total)