Page 1 of 1

Remove date on 1 entry?

Posted: Thu Jun 08, 2006 9:17 pm
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

Re: Remove date on 1 entry?

Posted: Thu Jun 08, 2006 9:24 pm
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

Posted: Thu Jun 08, 2006 11:31 pm
by DMotel
Yep that did it. Thanks!