Page 1 of 1

Extended entries - Remove "Sticky Postings" text?

Posted: Sun Dec 18, 2005 3:07 pm
by PerfectCr
Garvin or anyone:
Is it possible to remove the actual text that appears above a Sticky Post? I want to get rid of the "Sticky Postings" Text and simply remove that space. Any help you could provide is appreciated! :D

Loving S9Y!

Posted: Sun Dec 18, 2005 5:43 pm
by PerfectCr
I messed around with my entries.tpl and did the following...

I located this:

Code: Select all

    <div class="serendipity_Entry_Date">
        <?php if ($this->_tpl_vars['dategroup']['is_sticky']): ?>
        <h3 class="serendipity_date"><?php echo @STICKY_POSTINGS; ?>
</h3>
        <?php else: ?>
        <h3 class="serendipity_date"><?php echo serendipity_smarty_formatTime($this->_tpl_vars['dategroup']['date'], 'DATE_FORMAT_ENTRY'); ?>
</h3>
        <?php endif; ?>
and removed...

Code: Select all

        <h3 class="serendipity_date"><?php echo @STICKY_POSTINGS; ?>
</h3>
And that seems to have worked. Did I do it right? :)

Posted: Sun Dec 18, 2005 8:09 pm
by judebert
That'll do it. You could also modify the STICKY_POSTINGS definition in your languages/ file.

Posted: Sun Dec 18, 2005 8:12 pm
by PerfectCr
judebert wrote:That'll do it. You could also modify the STICKY_POSTINGS definition in your languages/ file.
Cool, thanks. I just wanted it removed completely ;)