All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

No_results tag breaks Events when in low variable

Davor Peic 30 Nov 2012 16:58 problem, complete

I updated to new version (1.1.0) and I noticed that for some reason if I use {if no_results} conditional inside of events tag, the tag doesn't return anything (Actually makes mess with closing html tags etc).

After few hours of testing, I noticed that this happens only when this tag is inside of low variable. I use early parsing and save as file on it.

do you have any clue what could be the issue?

My events tag is very simple

{exp:low_events:entries channel="events" }
{if no_results}<p class="no-results">No hay eventos próximos</p>{/if}
<article>
<h3><a href="{comment_url_title_auto_path}">{title}</a></h3>
<small>Inicio {events_dates:start_date format="%j de %F, %Y"}</small>
</article>
{/exp:low_events:entries}


Thank you Low!
d

edit: EE 253

Replies

  1. Low 30 Nov 2012 19:18

    Can you try and change this...

    {if no_results}


    ...to this...

    {if low_events_no_results}


    ...and see if that solves the issue?

  2. Davor Peic 30 Nov 2012 19:28

    Hey

    At the first moment actually worked with test text, when I replaced with my text the problem continued. At that moment I saw that only difference was in word "próximos", then I checked encoding and it was on Western, when I changed it to UTF8 - that solved the issue. So I guess that letter "ó" was breaking the loop and EE comments if its in wrong encoding. I have all my files in utf8, this must slipped.

    Hope this saves someones hours of testing :)
    thanks

  3. Low 30 Nov 2012 19:38

    Ah, good to know! :)