Hiding serendipity_entry_body at extended mode
Posted: Sat Jun 17, 2006 12:06 pm
I am trying to hide the main body when the post is extended. So at entries.tpl of the respective theme, I did:
Is this an elegant way to do this? I don't want to break anything...
Thanks!![Smile :)](./images/smilies/icon_smile.gif)
Code: Select all
{if not $entry.is_extended}
<div class="serendipity_entry_body">
{$entry.body}
</div>
{/if}
Thanks!
![Smile :)](./images/smilies/icon_smile.gif)