-
-
Save jamiepittock/8579243 to your computer and use it in GitHub Desktop.
{exp:stash:set_list name="venues" parse_tags="yes" parse_conditionals="yes" trim="yes"} | |
{exp:channel:entries channel="events" dynamic="no" show_future_entries="yes"} | |
{if cf_events_place} | |
{stash:venue_title}{cf_events_place}{title}{/cf_events_place}{/stash:venue_title} | |
{stash:venue_id}{cf_events_place}{entry_id}{/cf_events_place}{/stash:venue_id} | |
{/if} | |
{/exp:channel:entries} | |
{/exp:stash:set_list} | |
<select> | |
{exp:stash:get_list unique="yes" name="venues" trim="yes"} | |
<option value="{venue_id}">{venue_title}</option> | |
{/exp:stash:get_list} | |
</select> |
EE 2.7.3
Stash 2.4.8
PHP 5.4.16
Scrap the bit about being logged in or out. It's now not working either way.
I'm not sure about the PHP error. I do have errors set to output and it's not a white screen (of death). It's the browser default telling me it couldn't open the page.
https://dl.dropboxusercontent.com/u/79629/Screen%20Shot%202014-01-23%20at%2014.34.46.png
Sorry, just tried uninstalling and reinstalling Stash and it's now working. I'm not sure why that happened.
Thanks for looking anyway. I'll let you know if it happens again.
Ah, could be module updates button wasn't run last time you upgraded Stash? Some changes were made to the db tables a few versions back.
Yeah maybe. Other stashes on other pages were working ok though. It was just the inclusion of parse_tags and parse_conditionals that seems to throw it out.
Anyway, thanks again. I'll let you know if it happens again and I can replicate it.
Could be a PHP error notice being generated - do you have errors set to output when logged in? What version of PHP, EE and Stash are you using?