Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Disabling/Hiding logout button in module.

  • gemadan96
  • gemadan96
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 1
8 years 7 months ago #279352 by gemadan96
Replied by gemadan96 on topic Disabling/Hiding logout button in module.
Unable to get it to work with the bootstrap alternative layout, however if I set alternative to default and modify the default_logout.php file int TEMPLATE/html/mod_cblogin folder it works.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279390 by krileon
Replied by krileon on topic Disabling/Hiding logout button in module.
You would have to copy both the bootstrap and bootstrap_logout then select the new bootstrap layout as the module layout. It should then properly switch to the logout layout during logout display. Aside from that am unsure what to advise. It uses the same method as Joomlas login module for selecting the logout layout.


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.

  • gemadan96
  • gemadan96
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 1
8 years 7 months ago #279394 by gemadan96
Replied by gemadan96 on topic Disabling/Hiding logout button in module.
I had copied both the bootstrap files, but for some reason it just didn't work. As I said it works with the default layout.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago - 8 years 7 months ago #279437 by krileon
Replied by krileon on topic Disabling/Hiding logout button in module.
Strange that it works with default and not bootstrap. You could try copying the bootstrap layouts then rename them to default or naming them something other than bootstrap (e.g. mylayout.php and mylayout_logout.php). Sorry, not familiar enough with Joomla layout overrides to suggest any further workarounds.


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.
Last edit: 8 years 7 months ago by krileon.
The following user(s) said Thank You: gemadan96

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

  • gemadan96
  • gemadan96
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 1
8 years 7 months ago #279447 by gemadan96
Replied by gemadan96 on topic Disabling/Hiding logout button in module.
Tried it again and now its working. Didn't rename the files. Modified the bootstrap logout. I even cleared the cache several times before.

Anyway it appears to be resolved.

Thanks.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum