Hi,For my website i use mod_k2_login.After authentication in that module i have:* My Page* My AccountI want a specific module (mod_mainmenu ->User Menu, acces level: registered) to show up (on right position) in My Page and My account pages.The only way i figured how to do this is to setup that module (User Menu) with Menu Assignment -> All but this setting will display the user menu under all pages and menus across the site.I want to display this user menu only in "My Page" and "My Account" pages (in right position) accesed by logged in user.I tried to edit "userblock.php" file located inside mod_k2_login/tmpl directory.I found the lines that controls the "My page" and "My Account" links.On "My Page" line i have:<a href="<?php echo JRoute::_(K2HelperRoute::getUserRoute($user->id)); ?>"><?php echo JText::_('My page'); ?></a>on "My Account":<a href="<?php echo JRoute::_('index.php?option=com_user&view=user&task=edit'); ?>"><?php echo JText::_('My account'); ?></a>Ok, i want to call into this links that "User menu" module, i assume that i need to "call" it by it's id (id=17). How can i achieve this?Thanks in advance!
15 years 11 months ago #91181