$is_single_entry for category pages

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
User avatar
Don Chambers
Regular
Posts: 3607
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: need help?

Post by Don Chambers » Fri Jun 22, 2018 9:52 pm

In your theme's entries.tpl file you can do this:

Code: Select all

{if not $is_single_entry and not $entry.is_extended and not $is_preview}
     <p>This view contains multiple entries</p>
{else}
     <p>This is a detailed entry view with comment form</p>
{/if}

Post Reply