Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

What tags like [value] can be used? (Field Management : Parameters : Layout)

  • 4creator
  • 4creator
  • OFFLINE
  • Posts: 43
  • Thanks: 6
  • Karma: 1
  • Add-ons
1 year 10 months ago #332623 by 4creator
Hello,

I have a question about the Layout in the Parameters tab of Field Management.

Are there any tags other than [value] that can be used? 
For example, the video below shows the syntax [cb:if cb_gender="Male"][/cb:if].


1) Is there a tag list page somewhere?

2) Is there a tag in the layout that will extract only the entered URL?
* If I select Website Address as the field type, [value] will output: 
Code:
<a href="https://www.mysite.com" target="_blank" rel="nofollow noreferrer noopener">https://www.mysite.com</a>

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 year 10 months ago #332633 by krileon

Are there any tags other than [value] that can be used? 

It supports full substitutions. See the below tutorial on how to use substitutions.

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

Please note a field cannot substitute in itself outside of [value] and [FIELD_NAME] substitutions otherwise it'd create an infinite loop so it protects against doing so.

1) Is there a tag list page somewhere?

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

2) Is there a tag in the layout that will extract only the entered URL?

Edit your web address field then under Global set Web Address Type to URL Only so it won't collect hypertext. You can then use [FIELD_NAME] to output just the raw URL. You'll need to re-save existing fields though.


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: 4creator

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

  • 4creator
  • 4creator
  • OFFLINE
  • Posts: 43
  • Thanks: 6
  • Karma: 1
  • Add-ons
1 year 10 months ago #332638 by 4creator
Thank you so much, krileon!
That's exactly the information I was looking for!

(^_^)/

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

Moderators: beatnantkrileon
Powered by Kunena Forum