How do I change header so that it changes when Log in and Log out?

Hello fellows

I’m having this difficulty on my main page.

I already have all the settings for Login, Register, etc… but I wanted to make my page change when the user logs in and when he doesn’t.

I don’t know exactly what you want to do, but it sounds like you want your page to have a different look based on whether the user is logged in or not.

If that’s the case then just put conditions behind the elements you want to manipulate.

For example, if you have a button you want to display only of the user is logged on, then set up a condition for that button which checks for Current User is logged in, then set the property for the button to be visible.

You can then set another condition to see of the Current User is logged out, and set the property for the button to be not visible.

Does that help?

2 Likes

This is exactly what I would have said . :grinning:

YES!! Solved my problem, I really appreciate it.
I don’t know how to express myself very well in English yet, it’s not my main language.

Anyway, thanks a lot for the help.

This topic was automatically closed after 70 days. New replies are no longer allowed.