Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime

DIfferent Tooltip Content for List View and Profile View

  • MMDoege
  • MMDoege
  • OFFLINE
  • Posts: 98
  • Thanks: 3
  • Karma: 0
5 years 7 months ago #311958 by MMDoege
Is there a cb:if substitution (to be used in language override's key/text pairs) or any other way to display different tooltip content when a field is used as a Search Criteria in List View?
I have the case that in search tooltip does not to have the detail of what to enter like in registration/profile view.

Txs.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
5 years 7 months ago #311962 by krileon
Yup, you can substitute against the "reason" parameter of the below substitution documentation in field descriptions.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb

Examples as follows.

Profile Edit:
Code:
[cb:if reason="edit"]This displays in profile edit only.[/cb:if]

Userlist Search:
Code:
[cb:if reason="search"]This displays in userlist search only.[/cb:if]

You can have multiple of these in your description as well as use the [cb:else][/cb:else] usage. Example as follows.

Code:
[cb:if reason="search"]This displays in userlist search only.[cb:else]This displays everywhere else.[/cb:else][/cb:if]


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: MMDoege

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

Moderators: beatnantkrileon
Powered by Kunena Forum