1. Lianne
  2. Support
  3. Monday, September 01 2014, 11:12 PM
Hi,

The easy profile component is stored in a certain menu-item, named 'My XXX'. When the user is logged in, can the name of the menu-item be changed in 'Mijn XXX - log out". Or maybe just like this site: with the practical submenu (maybe just creating a submenu?)

Thanks!

Lianne
admin Accepted Answer
Admin
You can create two different menu items with different name and different AccessLevel:
'My XXX' -> Guest Access Level
'Mijn XXX - log out' -> Registered Access Level

with this the Guest user will see 'My XXX' and registered will see 'Mijn XXX - log out'
  1. more than a month ago
  2. Support
  3. # 1
Lianne Accepted Answer
Thanks, This was logical thinking.

BTW On this site you can log out directly in the submenu of 'Account', on the right-top. In my submenu I also built in a logout menu-item, but that is a (menu)link to the logout button in the component-area. You must click again. How can I get it just like you, thats much nicer for the user.

groet,
Lianne
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
We have do this with Joomla core hack, But I think that there are some plugin to do this.

Anyway our solution:
- Create a menu item of type System->External URL and put in URL parameter this:
index.php?option=com_users&task=user.logout

- Now to work and not give errors, you must comment the line 89 of file /components/com_users/controllers/user.php.
//JSession::checkToken('request') or jexit(JText::_('JInvalid_Token'));
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.