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

Support archive

Getting Started: Show Passed Events

kgrote 18 Apr 2013 20:58 question, complete

I'm trying to show all passed events where the "webinars_featured" field equals "not_featured" and the "webinars_recorded" field is not empty. Here's the tag I'm using:

 
{exp:low_events:entries
channel='resources_webinars'
dynamic='no'
limit='3'
disable='categories|member_data|pagination'
search:webinars_featured='=not_featured'
search:webinars_recorded='not IS_EMPTY'
date='now'
show_active='no'
show_passed='yes'
show_upcoming='no'
}
{if count == 1}
<div class="heading clearfix">
<h3>Recorded Webinars</h3>
</div><!--/.heading-->

<ul class="items webinars resetlist">
{/if}

<li class="clearfix">
<article>
<a href="{page_url}" class="preview">
<figure>
{exp:ce_img:single
src='{webinars_thumb}'
width='210'
height='100'
crop='yes'
allow_scale_larger='yes'
alt='{title} preview'
}
</figure>
</a>
<div class="text clearfix">
<header>
<h4><a href="{page_url}">{title}</a></h4>
</header>
<p>{webinars_summary}</p>
<footer>
<a href="{page_url}" class="btn-ui action">Watch Now</a>
</footer>
</div><!--/.text-->
</article>
</li>

{if count == total_results}
</ul>

{if count == 3}
<p class="learn-more clearfix"><a href="{path='resources/webinars/recorded'}">View All Recorded Webinars &raquo;</a></a>
{/if}
{/if}
{/exp:low_events:entries}


But I'm getting no results. What am I doing wrong here?

EE 2.5.5
Low Events 1.1.3

Replies

  1. Low 19 Apr 2013 07:02

    Try this opening tag:

    {exp:low_events:entries 
    channel='resources_webinars'
    dynamic='no'
    limit='3'
    disable='categories|member_data|pagination'
    search:webinars_featured='=not_featured'
    search:webinars_recorded='not IS_EMPTY'
    unit='passed'
    }

  2. kgrote 19 Apr 2013 16:54

    That did it, thanks Low!