Can I use cbsubs:if in language overrides?
Either I do something wrong or it doesn't work there...
[cbsubs:if user="#displayed" plan="4" status="A" AND plan="2" status="A" or plan="4" status="A" AND plan="19" status="A" or plan="1" status="A" AND plan="3" status="A"][cb:if reason="list"]Text[/cb:if][cb:if reason!="list"]<strong><span class="button-status">More text</span></strong>[/cb:if][cbsubs:else][cb:if reason="list"]Even more text[/cb:if][cb:if reason!="list"]<strong><span class="button-status">Nothing but text!</span></strong>[/cb:if][/cbsubs:else][/cbsubs:if]
Only if wherever that language string is rendered processes Joomla content plugins otherwise no.
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.
It's a tab's name. I need to change its name based on subscription as fields show/hide within same tab for different subscription users.
So I suppose the answer is no.
Any workaround?
Tab names do not support Joomla content plugins. Tab names do support substitutions though. So I suppose a possible workaround is to create a Custom HTML field, add your contents to it, and turn on Joomla content plugins for that field. Next substitute that field into the tab.
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.