file Log out button on user private page

More
4 years 5 months ago #10205 by strike_noir
Log out button on user private page was created by strike_noir
Dear support,

I have added a log out button through loadmodule mod_login on user private page.

After I logged in, the module displayed log out button instead of the login form. And when I clicked the logout button I goi redirected to the login form.

What I want is I want to be redirected to a menu item.

The mod_login seems to work using the logout redirection option. But this only works for normal pages.

Please help.

Thanks.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #10209 by carsten888
Replied by carsten888 on topic Log out button on user private page
How is this related to component User-Private-Page?

please post this on the Joomla forum.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #10211 by strike_noir
Replied by strike_noir on topic Log out button on user private page
The log out button worked well when I tested it on normal pages. It obeyed the log out redirection setting.
It redirects to the menu item that I wanted it to.

But when I put the log out button inside user private page it does not behave as I intended. It redirects back to itself (user private page). So I think it has something to do with this plugin.

Hmm so much for asking help here. Thanks anyway.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #10213 by carsten888
Replied by carsten888 on topic Log out button on user private page
How did you put the logout button on the page?
Maybe you are using the module on other pages and as a menu-item on the USP pages? In that case you will have to do the setting in the menu-item. If you're using a plugin to put the logout button there, check with the author of the plugin. If you put html code on the page, make sure its the correct encoded url.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #10214 by strike_noir
Replied by strike_noir on topic Log out button on user private page
I put the button using {loadmodule mod_login}. Entered this inside the user's UPP text.

I have solved this issue. By reading your reply and looking at the login form menu assignment. It was assigned only to the menu item that has the login form. But not assigned to the UPP menu item.

After I set it (mod_login) to appear on the UPP menu item, everything works.

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.126 seconds
Powered by Kunena Forum
 
spicy-sacerdotal