Skip to Content Skip to Menu

🏖 End of summer sale! Savings on all memberships including single add-ons! Get 25% off now with code SUMMER25!

cbsubs:if in language overrides

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 374
  • Thanks: 49
  • Karma: 8
3 months 15 hours ago #338264 by galanopd
cbsubs:if in language overrides was created by galanopd
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]

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48275
  • Thanks: 8240
  • Karma: 1441
3 months 11 hours ago #338265 by krileon
Replied by krileon on topic cbsubs:if in language overrides
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.

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

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 374
  • Thanks: 49
  • Karma: 8
3 months 11 hours ago #338267 by galanopd
Replied by galanopd on topic cbsubs:if in language overrides
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?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48275
  • Thanks: 8240
  • Karma: 1441
3 months 8 hours ago #338268 by krileon
Replied by krileon on topic cbsubs:if in language overrides
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.
The following user(s) said Thank You: galanopd

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

Moderators: beatnantkrileon
Powered by Kunena Forum