TOPIC:

hide-if-empty not working 1 week 3 days ago #260121

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Thanks: 0
From my understanding the "hide-if-empty" tag in article will hide the value if there is no content in it. But in my case it is not working. The frontend will show "not available" instead of a empty line.

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

hide-if-empty not working 1 week 3 days ago #260122

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

after saving the content template, please check the html source in the editor and see if the editor altered your code. TinyMCE/JCE tends to alter the html if there is something what they think that doesn't belong there.

Regards,
Tihana

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

hide-if-empty not working 1 week 3 days ago #260125

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Thanks: 0
Everything is there after saving the template. This is from the "Source" view in editor:
<p>{hide-if-empty Kategorie}{/hide} {hide-if-empty uberschrift}{/hide} {hide-if-empty platz}{/hide} {hide-if-empty anzahlpersonen}{/hide} {hide-if-empty zeitraum}{/hide} {hide-if-empty Name}{/hide} {hide-if-empty Email}{/hide} {hide-if-empty Telefon}{/hide} {hide-if-empty Beschreibung}{/hide} {hide-if-empty Bild1}{/hide} {hide-if-empty Bild2}{/hide} {hide-if-empty Bild3}{/hide}</p>

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

hide-if-empty not working 1 week 3 days ago #260126

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

could I test it on your page, and see what I can do?

If yes, please send me login information and backend link.

Use this tag:
[confidential]
[/confidential]

Please write name of view too

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

hide-if-empty not working 1 week 3 days ago #260127

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Thanks: 0
ah, sorry. I did not correct used the "hide-if-empty" tag.
I changed it to something like:

{hide-if-empty Kategorie}
<tr><td>{Kategorie: label}: {Kategorie:value}</td></tr>
{/hide}

And that works.

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

hide-if-empty not working 1 week 3 days ago #260129

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Thanks: 0
Thats really strange ...

After saved the first time it worked. Then I edited it again and the tag {hide-if-empty} was moved out from the content before <tr> into the top of content .. now it do not work again.

I will send access data to the backend

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

Moderators: ForumSupport
Time to create page: 0.053 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!