Skip to Content Skip to Menu

[SOLVED] CB Template override for social networks change

7 years 3 months ago - 7 years 3 months ago #295598 by soportemarketing
Hello:

I want to redistribute my register page in order to put CB connect social networks register in right side with an title, and another CSS style. I've read that it's possible to:

- override CSS in default CB template: can I do this by this way? I've read www.joomlapolis.com/blog/kyle/18711-template-css-overrides-made-easy

- made my own CB template: can I get the default template, change the classes definitions (default to mytemplate) and install it? I've read that in professional downloads there is a CB Bootstrap template, but I can't find it.

Thanks for your help.

Regards
Last edit: 7 years 3 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 3 months ago #295625 by krileon
If all you want to do is add custom CSS then yes you can use the CSS overrides functionality and add whatever CSS you like there. If you want to alter the HTML then you'd have to make a new CB template plugin. To make a new CB template yes you can usually just copy the default, rename the php file, rename the name and file in the xml, and adjust the class names in the php file; it should be installable and work fine at that point.

In your case it maybe easier to just use a module and either add a CB Login module to a position to the right of the registration page or use a Custom HTML module and supply the HTML for the buttons. As the provider buttons are just standard links you can link to them however you like. Some of the provider URLs as follows.

Facebook:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=facebook

Google:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=google

Twitter:
index.php?option=com_comprofiler&view=pluginclass&plugin=cbconnect&provider=twitter


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 3 months ago #295757 by soportemarketing
Replied by soportemarketing on topic CB Template override for social networks change
Thanks!!! I've cloned default template to my own nue CB template plugin, and It works ok.
Regards.
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