Channel Entry tag Parameter

Last updated: August 28th 2019

If you have not set config variable to search for each channel entries loop for member access and you want only entries that member has access to show, You have to pass a parameter like in given example below:

Example 1
{exp:channel:entries 
    channel="blog" dynamic="no" limit="10" 
    apply_super_restricted_entries="yes"
}
    <p>{title}</p>
    {paginate}{pagination_links}{/paginate}
{/exp:channel:entries}

If you have set a config variable and want all entries even if user is not allowed to view that, You have to pass the same parameter (with different value) like in given example below:

Example 2
{exp:channel:entries 
    channel="blog" dynamic="no" limit="10" 
    apply_super_restricted_entries="no"
}
    <p>{title}</p>
    {paginate}{pagination_links}{/paginate}
{/exp:channel:entries}

Working with Relationships

If you have not set a config variable to show only member access entries, You can do that by passing a parameter in channel:entries loop. (parameter not in relationships.)

Example 3
{exp:channel:entries 
    url_title="{last_segment}" 
    apply_super_restricted_entries_relationships="yes"
}
    {relationships}
        <p>{relationships:title}</p>
    {/relationships}
{/exp:channel:entries}

Same way, If you have set a config variable and want all relationships entries, You can set that variable to "no"

Example 4
{exp:channel:entries 
    url_title="{last_segment}" 
    apply_super_restricted_entries_relationships="no"
}
    {relationships}
        <p>{relationships:title}</p>
    {/relationships}
{/exp:channel:entries}