Remove date on 1 entry?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
DMotel
Regular
Posts: 67
Joined: Fri Apr 21, 2006 8:49 pm

Remove date on 1 entry?

Post by DMotel »

We are trying to have a paragraph at the top of the content section (welcome text) that is persistant. What I have been doing was inserting it as an entry and then making sure that it had the most recent date. But we want there to be no date and no title. I can remove the title but I cannot remove the date.

How can I have a paragraph stay at the top of the entries that welcomes people to the blog?

Thanks
http://www.bernsteinmedical.com/blog
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Remove date on 1 entry?

Post by garvinhicking »

Hi!

I suggest you install the plugin "Extended properties for Entries" (bundled with recent versions of Serendipity, starting with 0.8 I think) and then you can mark an entry as "Sticky Entry". So then it will be always shown on top of the entry lists.

Then you can edit your entries.tpl template and search for the term "STICKY". There you will then see the portion of HTML that will emit a special date header for sticky entries. You can there remove the variable that prints the date within that.I suggest to simply try it out, add some characters within that section, remove some variables and see how it alters the output of your template. Doing it like this might be hard for you at first, but will lead to a lot of insight along the process. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
DMotel
Regular
Posts: 67
Joined: Fri Apr 21, 2006 8:49 pm

Post by DMotel »

Yep that did it. Thanks!
Post Reply