Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created October 6, 2011 23:48
Show Gist options
  • Save objectivehtml/1269046 to your computer and use it in GitHub Desktop.
Save objectivehtml/1269046 to your computer and use it in GitHub Desktop.
{exp:channel:entries channel="map_demo" class="open|closed"}
{if group_id == 1 || group_id == 5 && status == "open"}
{title} <br>
{/if}
{/exp:channel:entries}
@jannisg
Copy link

jannisg commented Oct 7, 2011

If I were to also have pagination running and a limit="5" on the entries loop, then inside the loop i skip entries due to the group_id not matching wouldn't that cause trouble with having 5 paginated entries on the page?

Meaning, if 2 don't match the group_id I would only see 3 entries + pagination?

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