Hi All…
Should I be able to use exp:query inside of exp:repeet:calendar? I’m working on adding repeet to an existing calendar and it seems that as soon as I wrap the calendar in the exp:repeet:calendar code the data from exp:query is no longer returned.
Thanks in advance. I’m sure I have my dunce cap on today.
-Shawn
A portion of the edited code is below.
{exp:repeet:get_ids weblog="calendar" parse="inward" calendar="yes"}
{exp:repeet:calendar weblog="calendar" entry_id="{repeet:entry_ids}" interval_field="repeat_interval" include_field="include_dates" exclude_field="exclude_dates" show_future_entries="yes" show_expired="yes"}
{calendar_rows}
{row_start}<tr>{/row_start}
{if entries}
<td>
<a href="http://{day_path=who/event}">{day_number}</a>
<div class="events">
{entries}
{exp:query sql="SELECT cat_id AS this_cat_id FROM exp_category_posts WHERE entry_id = '{entry_id}'"}
{exp:query sql="SELECT cat_name, cat_image, cat_url_title FROM exp_categories WHERE cat_id = '{this_cat_id}'"}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.