Extended entries - Remove "Sticky Postings" text?

Creating and modifying plugins.
Post Reply
PerfectCr
Regular
Posts: 90
Joined: Mon Nov 21, 2005 2:21 am
Contact:

Extended entries - Remove "Sticky Postings" text?

Post 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!
PerfectCr
Regular
Posts: 90
Joined: Mon Nov 21, 2005 2:21 am
Contact:

Post 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? :)
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

That'll do it. You could also modify the STICKY_POSTINGS definition in your languages/ file.
PerfectCr
Regular
Posts: 90
Joined: Mon Nov 21, 2005 2:21 am
Contact:

Post 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 ;)
Post Reply