Creating and modifying plugins.
PerfectCr
Regular
Posts: 90 Joined: Mon Nov 21, 2005 2:21 am
Contact:
Post
by PerfectCr » Sun Dec 18, 2005 3:07 pm
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!
Loving S9Y!
PerfectCr
Regular
Posts: 90 Joined: Mon Nov 21, 2005 2:21 am
Contact:
Post
by PerfectCr » Sun Dec 18, 2005 5:43 pm
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 » Sun Dec 18, 2005 8:09 pm
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 » Sun Dec 18, 2005 8:12 pm
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