Page 1 of 1

Hiding serendipity_entry_body at extended mode

Posted: Sat Jun 17, 2006 12:06 pm
by dale
I am trying to hide the main body when the post is extended. So at entries.tpl of the respective theme, I did:

Code: Select all

{if not $entry.is_extended}
<div class="serendipity_entry_body">
     {$entry.body}
</div>
{/if}
Is this an elegant way to do this? I don't want to break anything...

Thanks! :)

Re: Hiding serendipity_entry_body at extended mode

Posted: Sat Jun 17, 2006 5:30 pm
by garvinhicking
Hi!

Yes, that is a very elegant way to do this. Perfectly in order. :-)

Best regards,
Garvin

Posted: Sat Jun 17, 2006 5:39 pm
by dale
Thanks for the speedy reply Garvin. :D