How to manage Login/Logout/Register

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Jul 29, 2013 11:31 am
Reply with quote
Report this post
Hi Gavick Team, I need your help to solve this problem.
I don't understand how to manage my user menu.
This is my site: www.coldplayzone.it

At the top of the page there is my user menu:
LOGIN . REGISTRATI

Once you do the login you will find this menu:
PROFILO . MODIFICA . LOGIN . REGISTRATI

But it should be like this:

PROFILO . MODIFICA . LOGOUT


Can you please explain to me how to do this?
Thanks


PS: If you want I can create a test account, please let me know.
User avatar
Expert Boarder

teitbite
Mon Jul 29, 2013 2:48 pm
Reply with quote
Report this post
Hi

I'm afraid there is no easy option in joomla for that.

First please add new element to this menu visible for registered used only: LOGOUT.

Than I will need to see it to check css selectors for this menu elements and hide them with a css code.
User avatar
Moderator

GK User
Mon Jul 29, 2013 4:17 pm
Reply with quote
Report this post
hi teitbite, thanks for your reply.
i sent you an email.
User avatar
Expert Boarder

teitbite
Mon Jul 29, 2013 6:10 pm
Reply with quote
Report this post
hi

Done. I've added new menu item Logout and set for registered users. Than added new custom script module attached to debug module positions on all pages and used only if user is logged. The code in this new module:

Code: Select all
<style type="text/css">
#gkTopMenu .item-500,
#gkTopMenu .item-501{
display: none;
}
</style>


is hiding the unnecessary links.
User avatar
Moderator

GK User
Tue Jul 30, 2013 8:48 am
Reply with quote
Report this post
Great! Thank you so much
User avatar
Expert Boarder

teitbite
Wed Jul 31, 2013 1:12 am
Reply with quote
Report this post
hi

no problem. Glad I could help :)
User avatar
Moderator

GK User
Fri Sep 13, 2013 1:37 pm
Reply with quote
Report this post
Hi, this was the solution that I used. It worked out quite well for me.
http://forum.joomla.org/viewtopic.php?f=624&t=692224

It also gave the ability to hide other modules when users were logged in after I set the ACL to “GUEST USERS”


Red
User avatar
Fresh Boarder

teitbite
Sat Sep 14, 2013 2:24 am
Reply with quote
Report this post
Hi

Yes this looks interesting. Thank You for shearing this.
User avatar
Moderator


cron