[SOLVED] Output tab inside article = Style is lost

11 years 6 months ago - 11 years 6 months ago #213504 by dotcom22
hello

I use Boostrap template and I want output CBsubs Subscription tab inside an article using the substitution [cb:usertab tab="23" /] inside CB Content module. Then I placed the loadposition tag inside my article and I'm able to well display the tab inside my article.

However the appearance on the tab is different than the one normally present inside the profile itself. This probably because Boostrap style do not work outside CB profile.

I don't see how to do for get the same appearance. I tried to place some CSS code inside the related area of CB Content but this don't work.

How I'm supposed to do ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in to join the conversation.

11 years 6 months ago - 11 years 6 months ago #213535 by krileon
Replied by krileon on topic Re: Output tab inside article = Style is lost
Bootstrap only loads on where CB calls for the template. Its styling is not loaded in by substitutions so yes you will lose styling. Latest CB Content Bot lets you enable loading of CBs template though. Please navigate to Extensions > Plug-in Manager > Content - Community Builder and click "Advanced Options" then set "Load Template" to "Enabled". Note you'll probably need to surround your substitution with the following so the CSS can target it.

<div class="cb_template_bootstrap">SUBSTITUTIONS</div>


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 to join the conversation.

11 years 6 months ago #213550 by dotcom22
Replied by dotcom22 on topic Re: Output tab inside article = Style is lost
excellent that work well now :woohoo:

Note you'll probably need to surround your substitution with the following so the CSS can target it.


In my case this seem to be not necessary but I take note in case of need.

thank

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.217 seconds

Facebook Twitter LinkedIn