display tabs based on cb custom fields

11 years 3 months ago #137652 by liypfhe1
display tabs based on cb custom fields was created by liypfhe1
i have searched the forums.. but i dont know how to call this..

i am wondering if there is a way hide and show tabs based on which field output is slected.. i have cb_gender as the controlling fields and i am trying to display certain tabs for male and certain tabs for female.. but i dont have cb subs...

Please Log in to join the conversation.

11 years 3 months ago #137686 by krileon
Replied by krileon on topic Re:display tabs based on cb custom fields
Yes, but only if you're using substitutions in a delimiter field to render your tabs. You could then use advanced IF substitutions to display the tabs based on a field value. Please see tutorials within my signature for further information on substitutions. The following is an example of how to render tabs.

[code:1]
[cb:usertab tab="##" user="#displayed" /]
[/code:1]

Replace ## with the Tab ID found within Tab Management.


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 1 month ago #140665 by liypfhe1
Replied by liypfhe1 on topic Re:display tabs based on cb custom fields
krileon wrote:

Yes, but only if you're using substitutions in a delimiter field to render your tabs. You could then use advanced IF substitutions to display the tabs based on a field value. Please see tutorials within my signature for further information on substitutions. The following is an example of how to render tabs.

[code:1]
[cb:usertab tab="##" user="#displayed" /]
[/code:1]

Replace ## with the Tab ID found within Tab Management.


where do i put this at.. i am kinda new to coding.. i dont know which file to put this in

Please Log in to join the conversation.

11 years 1 month ago #140743 by krileon
Replied by krileon on topic Re:display tabs based on cb custom fields
In a delimiter field as stated in my previous post. Delimiter fields can be created within Field Management.


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.

Moderators: beatnantkrileon
Time to create page: 0.173 seconds

Facebook Twitter LinkedIn