Skip to Content Skip to Menu

mod_cblogin CB 1.9.1

  • mwrldn
  • mwrldn
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
9 years 10 months ago #256124 by mwrldn
mod_cblogin CB 1.9.1 was created by mwrldn
Hi All (and seasons greetings),

I spent some time reading the forums about changing the design/layout of the cb_login module, but was unable to find a satisfactory answer.

I want to have the CB login/logout module appear as a thin bar (horizontal/compact) at the top of the page, and whilst I have been able to modify the text/password boxes to suit using CSS, the Title of the module always appears above the boxes making it too thick.

I had a look at the mod_cblogin.php module with a view to modifying that, but can't seem to work out where in the file the Title of the module (and I assume the br /) is included. If you can point me in the right direction that would be appreciated.

Alternatively I read that with CB 2.0 and above, that there may be some changes happening that make it easier to modify the layout. I am reluctant to upgrade from 1.9.1 witout knowing that this is the case, as I have several other extensions, and almost invariably updates lead to conflicts that are often time consuming and difficult to solve. If layout issues have been markedly improved however I may be willing to take the risk.

I note further that the login at joomlapolis.com does not have a Title, so I assume it must be possible to remove, and whilst it is close to what I am trying to achieve, I would like to see the all the login components, USERNAME, PASS, FORGOT, REGISTER on a single line so that it gives more space for the main menu. If I can work out how to do this I will also do a similar thing for the mobile version of the site using icons, but as someone who is fairly new to community builder, I'm struggling to put all the elements together at this stage.

Any assistance or advice would be appreciated, and if I can work it out I will send back the answers and any code for your use. (Config below)

Cheers,

Mark

CB 1.9.1
Joomla 2.5.11
PHP 5.5.20
MySQL 5.6.21

I also have current CBsubs, Virtumart and a few other extensions running, but i don't think they should be relevant to the question being asked. However if you want to know anything, please let me know.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256170 by krileon
Replied by krileon on topic mod_cblogin CB 1.9.1

I want to have the CB login/logout module appear as a thin bar (horizontal/compact) at the top of the page, and whilst I have been able to modify the text/password boxes to suit using CSS, the Title of the module always appears above the boxes making it too thick.

Edit your CB Login module and set it to horizontal compact and it should display how you're wanting. Compact display is what causes the labels to show in the inputs inside of above/next to them.

Alternatively I read that with CB 2.0 and above, that there may be some changes happening that make it easier to modify the layout. I am reluctant to upgrade from 1.9.1 witout knowing that this is the case, as I have several other extensions, and almost invariably updates lead to conflicts that are often time consuming and difficult to solve. If layout issues have been markedly improved however I may be willing to take the risk.

With CB 2.x our core modules are completely compatible with Joomla layout usage. This means you can have a layout for the CB login module as part of your Joomla template so it can be altered/styled to fit perfectly within your Joomla templates design. CB 2.x comes with a horizontal and vertical layout with and without Bootstrap markup (bootstrap for j3.x and non-bootstrap for 2.x). For inline labels in CB 2.x you can set them to display as "Placeholders" using HTML placeholder attribute allowing them to correctly display.


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.

  • mwrldn
  • mwrldn
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
9 years 10 months ago - 9 years 10 months ago #256185 by mwrldn
Replied by mwrldn on topic mod_cblogin CB 1.9.1
Kyle,

Thanks for your prompt response. I had already edited the CB Login module to horizontal/compact, but for some reason the Title of the module always shows above it. It is possible that there is some sort of Template incompatibility.

I was already considering the possibility of a migration from j2.5 to j3.0, although I was thinking a little further down the track. I might bring it forward and upgrade to CB2.0 in light of your comments and see if I can get a better result.

Cheers,

Mark
Last edit: 9 years 10 months ago by mwrldn. Reason: spelling error

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

  • heyai
  • heyai
  • OFFLINE
  • Posts: 324
  • Thanks: 79
  • Karma: 24
9 years 10 months ago #256191 by heyai
Replied by heyai on topic mod_cblogin CB 1.9.1
As a slightly off-topic remark: if you can, clone your site and try the upgrade there. Sooner or later you will have to migrate as more and more plugins and components are not supported anymore. It's MUCH less headache when it's on your terms instead of unforeseen circumstances that force you to rebuild the site.
*steps off soap box*

hey-ai - the community for asian guys and non-asian girls

The search bar is your friend, not just decoration!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256256 by krileon
Replied by krileon on topic mod_cblogin CB 1.9.1

Thanks for your prompt response. I had already edited the CB Login module to horizontal/compact, but for some reason the Title of the module always shows above it. It is possible that there is some sort of Template incompatibility.

Yes, it's possible your Joomla template is doing this. Switch to default Joomla template to confirm. A Joomla template is capable of overriding various outputs, including modules, and can add to that display (so for example can output the module title all on its own). This is typically done from a below file.

templates/YOUR_TEMPLATE/html/modules.php

If it is your template then upgrading to CB 2.x won't resolve it as your template will just continue to do as designed.


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.

  • mwrldn
  • mwrldn
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
9 years 10 months ago #256308 by mwrldn
Replied by mwrldn on topic mod_cblogin CB 1.9.1
Heyai,

Thanks for your input, I have backed up the site and run it up on a VM server to try just that. Haven't done the update yet, but will pst the results tomorrow.

Cheers,

Mark

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

Moderators: beatnantkrileon
Powered by Kunena Forum