Created
August 23, 2012 13:48
-
-
Save croxton/3436786 to your computer and use it in GitHub Desktop.
Stash + ifelse + playa
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
| {exp:stash:set_value name="tc" value="{exp:playa:total_children}" parse="inward" type="snippet"} | |
| {exp:ifelse parse="inward"} | |
| {if tc > 10} | |
| ... | |
| {if:else} | |
| .... | |
| {/if} | |
| {/exp:ifelse} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment