Skip to content

Instantly share code, notes, and snippets.

@since1976
Created January 12, 2012 01:16
Show Gist options
  • Save since1976/1597859 to your computer and use it in GitHub Desktop.
Save since1976/1597859 to your computer and use it in GitHub Desktop.
Stash
{exp:stash:set name="content"}
<section>
<h1 id="committee_members">Main Committee members</h1>
{exp:stash:get name="committee"}
{exp:channel:entries channel="committee_positions" dynamic="no" status="not closed|draft" search:cf_position_type="cm" entry_id="not 47" {global:param_disable_default}}
{snip_committee_position}
{/exp:channel:entries}
{exp:channel:entries channel="committee_positions" dynamic="no" status="not closed|draft" entry_id="47" {global:param_disable_default}}
{snip_committee_position}
{/exp:channel:entries}
</section>
<section>
<h1>Regional Contacts</h1>
{exp:channel:entries channel="committee_positions" dynamic="no" status="not closed|draft" search:cf_position_type="rc" entry_id="not 47" {global:param_disable_default}}
{snip_committee_position}
{/exp:channel:entries}
</section>
{/exp:stash:set}
@since1976
Copy link
Author

My brain is fried. I know there must be a much better way to do this but I can't get work it out.
It's driving me crazy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment