hi
when i click on "my page" in k2_user module , i see the user page... and the addrees in address bar is for example
index.php/cars/motocycle/component/k2/itemlist/user/david-43
but i want change the code in this module... when users click on "my page" , then they enter to their page...
but in the first page of my site "index.php"
it means the address should be like this
index.php/itemlist/user/the-user-name-and-id
i find the code but i dont know how to change it
the code is :
<a href="<?php echo JRoute::_(K2HelperRoute::getUserRoute($user->id)); ?>"><?php echo JText::_('K2_MY_PAGE'); ?></a>
please help
thanks
when i click on "my page" in k2_user module , i see the user page... and the addrees in address bar is for example
index.php/cars/motocycle/component/k2/itemlist/user/david-43
but i want change the code in this module... when users click on "my page" , then they enter to their page...
but in the first page of my site "index.php"
it means the address should be like this
index.php/itemlist/user/the-user-name-and-id
i find the code but i dont know how to change it
the code is :
<a href="<?php echo JRoute::_(K2HelperRoute::getUserRoute($user->id)); ?>"><?php echo JText::_('K2_MY_PAGE'); ?></a>
please help
thanks