Created
July 3, 2015 20:39
-
-
Save elivz/7f54f3d3cabef16bdeac to your computer and use it in GitHub Desktop.
This file contains 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
{if logged_in} | |
{preload_replace:entry_status='open'} | |
{if:else} | |
{preload_replace:entry_status='closed'} | |
{/if} | |
{exp:channel:entries status="{entry_status}"} | |
... | |
{/exp:channel:entries} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment