Skip to Content Skip to Menu

Logout Link

7 years 8 months ago #285458 by fabioweb90
Logout Link was created by fabioweb90
Hello!
i've insert a link menù logout directly in my template: <a href="/index.php?option=com_comprofiler&view=logout">LOGOUT</a>

if you try to login and logout first time it works correctly: seratadigala.tioitalia.it/index.php/it/
Second time user is always logged in.. Why? prova@prova.it - 123456 for testing :)

Thank you!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68609
  • Thanks: 9108
  • Karma: 1434
7 years 8 months ago #285470 by krileon
Replied by krileon on topic Logout Link
Change "/index.php?option=com_comprofiler&view=logout" to "index.php?option=com_comprofiler&view=logout". You've Joomlas language filter enabled which alters the URL (it's what is adding /it/) so things can get pretty wonky without using relative usage. Your only other solution is to properly use mod_rewrite (recommended regardless.. it just makes SEF more reliable in Joomla) or try creating a Joomla menu item to CBs logout page and adding &Itemid=MENU_ID to the URL.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

7 years 8 months ago #285498 by fabioweb90
Replied by fabioweb90 on topic Logout Link
Ok Thank you very kind. It's better to rebuild in a different way :)

After login it's possible to display name and surname? i can see only logout button..

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68609
  • Thanks: 9108
  • Karma: 1434
7 years 8 months ago #285515 by krileon
Replied by krileon on topic Logout Link

After login it's possible to display name and surname? i can see only logout button..

In the CB Login module? Yes, under "Logout Options" of your CB Login module you can turn on "Show Greeting" or use substitutions in "Logout Pre-text".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn