TOPIC:

Live Website and email links in Content Template 6 months 2 weeks ago #255513

  • Topic Author
  • skipt
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
This may be elementary for some, but it took me long enough to get the syntax to work.

If you would like email addresses and website to be live on your content template pages you can add the followng. I add it in the code editor

For Email: (rename "EmailAddress with your field name)
{hide-if-empty EmailAddress}<a href="mailto:{EmailAddress:value}">{EmailAddress:value}{/hide}


For Website: (warning your data must include http:// or https:// in the field) target-blank opens the site in a new tab.
{hide-if-empty WebPage}<a href="{WebPage:value}" target="_blank" rel="noopener noreferrer">{WebPage:value}

if your field does not have http:// in the data you could try the following. if some sites have https:// but have not configured their redirects correctly you may get some bad links.
{hide-if-empty WebPage}<a href="http://{WebPage:value}" target="_blank" rel="noopener noreferrer">{WebPage:value}

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

Live Website and email links in Content Template 6 months 2 weeks ago #255525

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6998
  • Karma: 3
  • Thanks: 499
Hi,

thanks :)

Regards,
Tihana

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.044 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!