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] CB Connect Version 5.2.0 horizontal layout in vertcial module?

  • kmonty78
  • kmonty78
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 2 months ago - 11 years 2 months ago #231815 by kmonty78
After some forum searching, my keywords searched has failed me.

First, I love the new CB Connect. But as in the attached file I would like to be able to format the buttons such as in the Horizontal/Compact format while the module is Vertical formatting. The buttons are taking up a bit of space within the div's, which is sorta premium in where I wish to locate it. I have tried the horizontal layout in span's, but the rest of the module isn't laying out nicely. I have looked into it a little, but would really love to see an alternative way, other then editing the cbconnect.class.php and basically copying the horizontal/compact to the vertical code, which is sorta core and breaks updates.

Note** I am referring to only the CB connect buttons plugin loading into the CB Login module. Inbetween the Login Button and Forgot Login? link. In its vertical div's its taking up some space there to which I rather put into rows hopefully with come css padding.
Attachments:
Last edit: 11 years 2 months ago by krileon.

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

  • kmonty78
  • kmonty78
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #231826 by kmonty78
Silence, didn't expect that. Nasty hack I will record in my notes. :unsure:

added $horizontal = 1;
to
/components/com_comprofiler/plugin/user/plug_cbconnect/plugin.cbconnect.php
@ line 33
above
if ( ! $CSS_loaded++ ) {

seems to work :dry:

along with some css changes.

Just until I find a better alternative.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 2 months ago #231865 by krileon
Have released 5.2.1 fixing the Compact display of buttons; please update. There's a configuration parameter to set the button display to whatever you like within CB > Plugin Management > CB Connect > Config > SOCIAL_SITE_HERE > Login then adjust "Button Style", which set to "Compact" will give you the desired 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.

  • kmonty78
  • kmonty78
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
11 years 2 months ago #231867 by kmonty78
Awesome thanks! Less for me to keep notes on :D

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

Moderators: beatnantkrileon
Powered by Kunena Forum