Skip to Content Skip to Menu

🏖 Summer sale is almost over! Get 20% off professional and developer memberships with code SUMMER-2026!

Remove 'Forgot Username?' from CB Login page

3 months 2 weeks ago #343901 by BobBriscoe
Replied by BobBriscoe on topic Remove 'Forgot Username?' from CB Login page
Thanks for the implementation. Nonetheless, as I said, 

I do still need to know the location of the template override for the CB Login page, because I also want to alter the page ordering (to shift the Register link to the top of the page).

And in my last para (starting 'Specifically...') I also told you precisely what I had already done, which seems to me to be exactly what you've just told me to do. So either I must be misunderstanding, or something isn't working properly.

 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50675
  • Thanks: 8686
  • Karma: 1474
3 months 2 weeks ago #343902 by krileon
Replied by krileon on topic Remove 'Forgot Username?' from CB Login page
You created a layout override for "mod_login". That's Joomla's login module. You need a layout override for "mod_cblogin". CB doesn't have a login page layout. Our login page is just loading your login module. So overriding the login module layout is how you'd customize the login page.


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.

3 months 2 weeks ago #343906 by BobBriscoe
Replied by BobBriscoe on topic Remove 'Forgot Username?' from CB Login page
I said mod_cblogin.
More haste less speed. For the fourth time, please read what I say.

Specifically, I used joomla 5's template override system as follows: System > templates > site templates > template override > [template name (Cassiopeia)] > 

  • Create Overrides tab > mod_cblogin
  • Edit overrides tab : Modules > html/mod_cblogin/default.php
To repeat, editing this php does not alter the way my CB login page renders at all.
I've proved that the page is definitely owned by the CB login module, because it alters in other ways when I configure the CB Login module.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50675
  • Thanks: 8686
  • Karma: 1474
3 months 2 weeks ago #343908 by krileon
Replied by krileon on topic Remove 'Forgot Username?' from CB Login page
Edit your CB Login Module and under Advanced Options see what Layout it's using. What layout it's using may vary greatly as it's dependent on what Joomla version you're using. It's probably set to "bootstrap" (Joomla 5 and 6 layout) so correct editing default.php won't do anything as you'd need to edit bootstrap.php.

I know this may seam unintuitive, but CB still works on Joomla 3 (officially no longer tested, but does work), 4, 5, and 6. We've a lot of compatibility to account for so that's why there's a lot of layouts. The layouts for different versions are as follows.

default = Joomla 3
bootstrap_4 = Joomla 4
bootstrap = Joomla 5 and Joomla 6

We can't remove any of this for backwards compatibility purposes until CB 3.x as we don't want major breaking changes in non-major releases. Realistically in CB 3.x we won't have a login module anymore and you'll just use Joomla's.


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.

3 months 2 weeks ago #343919 by BobBriscoe
Replied by BobBriscoe on topic Remove 'Forgot Username?' from CB Login page
My layout is bootstrap. However, just to keep me on my toes, the filename that worked for my Joomla 5 system was bootstrap_j4.php (not bootstrap.php like you said)

Given all the files only have slight differences, surely it would have been possible to have one bootstrap.php file and, wherever slight version-specific differences were needed, branch dependent on Joomla version (defaulting to the latest version for unrecognized future versions).

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50675
  • Thanks: 8686
  • Karma: 1474
3 months 2 weeks ago #343933 by krileon
Replied by krileon on topic Remove 'Forgot Username?' from CB Login page
My apologies. They're as follows.

default = Joomla 3 (non-bootstrap template)
bootstrap = Joomla 3 (bootstrap template)
bootstrap_4 = Joomla 4, 5, and 6

Effectively we're just held back by the technical debt from Joomla 3, which we are planning to remove in CB 3.0. The differences between Joomla 3 and everything else have us keeping a lot of bloat around. Joomla 4 really streamlined a lot of API access so we're hoping to really clean things up.

Given all the files only have slight differences, surely it would have been possible to have one bootstrap.php file and, wherever slight version-specific differences were needed, branch dependent on Joomla version (defaulting to the latest version for unrecognized future versions).

Sure, but instead of risking breaking installs and causing backwards compatibility issues it was decided we'd just isolate the template files for their target versions instead.

Joomla 3 we had to deal with templates that were and were not Bootstrap so it required 2 completely different structures. Then Joomla 4 completely changed all of this again, which is fine, but I don't want to risk breaking everyone's Joomla 3 sites design just because we added Joomla 4 support.

In hindsight we probably should've just split the module into partials and done something like the below.

/form/joomla3/_default.php
/form/joomla4/_default.php
/form/joomla5/_default.php
/form/joomla6/_default.php
default.php

Split things into different elements. Keep them version isolated for backwards compatibility and probably remove partials that don't match current installed Joomla version at install time. It's always easy to look back and say "well I probably could've done that better" lol.


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