Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {exp:channel:entries
- channel="places"
- status="open"
- {global:channel_disable_basic}
- }
- {exp:stash:set name="place_id"}{entry_id}{/exp:stash:set}
- {/exp:channel:entries}
- {exp:stash:set_list
- name="venue-events"
- parse_tags="yes"
- parse_conditionals="yes"
- parse_depth="3"
- save="yes"
- scope="site"
- }
- {exp:calendar:cal
- calendar_id="4871"
- first_day_of_week="1"
- enable="custom_fields"
- date_range_start="today"
- date_range_end="+ 12 months"
- pad_short_weeks="n"
- dynamic="yes"
- }
- {stash:venue_event_title}{title}{/stash:venue_event_title}
- {stash:venue_event_venue}{cf_event_venue}{entry_id}{/cf_event_venue}{/stash:venue_event_venue}
- {/exp:calendar:cal}
- {/exp:stash:set_list}
- {exp:stash:get_list
- name="venue-events"
- require_prefix="no"
- parse_tags="yes"
- parse_depth="3"
- match="#^{exp:stash:get name='place_id'}$#"
- against="venue_event_venue"
- }
- <pre>{venue_event_title}, {venue_event_date}, {venue_event_venue}</pre>
- {/exp:stash:get_list}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement