-
-
Save thisisjamessmith/6a1b4446d2097958939c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{!-- ==================================== | |
This set_list tag takes a list of all the | |
programme-ids present in the full XXXX feed | |
(as set in the XXXX-feed Stash template) and | |
fetches all the corresponding film entries | |
and their field data from EE. | |
Add any custom fields you need as Stash vars here. | |
========================================= --} | |
{exp:stash:set_list name="films" | |
parse_tags="yes" | |
save="yes" | |
replace="no" | |
scope="site" | |
} | |
{exp:channel:entries | |
channel="films" | |
disable="categories|member_data|pagination" | |
dynamic="no" | |
parse="inward" | |
search:film-XXXX-id="dummy-{stash:prog-ids}" | |
} | |
{stash:film-link}{url_title_path=film}{/stash:film-link} | |
{stash:title}{title}{/stash:title} | |
{stash:film-rating}{film-rating}{/stash:film-rating} | |
{stash:film-still-1}{film-still-1}{/stash:film-still-1} | |
{stash:film-still-2}{film-still-2}{/stash:film-still-2} | |
{stash:film-poster}{film-poster}{/stash:film-poster} | |
{/exp:channel:entries} | |
{/exp:stash:set_list} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment