Created
June 6, 2011 18:41
-
-
Save croxton/1010797 to your computer and use it in GitHub Desktop.
ExpressionEngine Stash match/against example
This file contains hidden or 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
{!-- get a list of people with last names starting A-F --} | |
{exp:channel:entries channel="people" sort="asc" orderby="person_lname"} | |
{exp:stash:append name="people_a_f" match="#^[A-F]#" against="{person_lname}"} | |
<li><a href="/people/{entry_url}" title="view profile">{title}</a></li> | |
{/exp:stash:append} | |
{/exp:channel:entries} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment