Skip to Content Skip to Menu

Cbsubs plan A and B - Community builder registration form - Hide Tabs

9 years 5 months ago #265975 by julie.prod.web
Hi,

I'm using joomla 3.4.1, cb 2.09 and cbsubs 4.
Hi have 2 plans in cbsubs : A and B.
In cbsubs, in each plan I have hide some fields, so that's ok, it works: At the CB Registration Form some tabs are only for plan A and some tabs are only for plan B.
The probleme is : when I choose plan A, the tabs of the plan B are visible. There is no fields inside but plan A can see title steps of plan B.
You can see attachmant : Plan A is not concerning by "I need an au pair granny".

I want to hide the tab, not just the fields.

Previously, when I used cb1.9, I had found a easy way with the css of cbtemplate (/www/components/com_comprofiler/plugin/templates/boostrap/template.css):

in line 3466
.cb_template_bootstrap #stepbystep > ul > .ui-state-disabled > a,
.cb_template_bootstrap #stepbystep > ul > .ui-state-disabled > a:hover {

I added in this function : display:none;

But actually, this code function doesn't exist anymore... :(

What'is the best and esay way today to hide empty tabs steps at the registration form ?

Someone speaks about CB Tabs Protection Plugin. But I have trying (with documentation support), it is very complicated to use and I don't want to hide tabs at profile view or edit profile view => this is all ready manage with cbconditional.

Thanks for your help
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
9 years 5 months ago #266445 by krileon
CBSubs field hiding does not integrate into CBs step by step usage. So CBSubs has no way of hiding the tab when all the fields on the tab are hidden as there's just no functionality for this implemented yet. I've added a feature ticket for CB Conditional to be able to condition off plan selection, but I've no idea when I'll get around to it as that'd be the most ideal way of doing this. You need to either stop hiding all the fields on the tab, don't use step by step, or write custom jQuery to handle hiding the empty tab as at this time I don't have a solution to offer.


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