How do I disable the "Date" in my postings

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply

How do I disable the "Date" in my postings

Post by berlin-girl » Sat Jan 07, 2006 10:45 am

Hey there!
First of all, I love S9y very much, Garvin and all other developers, you are doing a great job!

Here is my question: I do not need the date and the author's name in my postings, because I'm the only writer in my blog. How can I disable them?

I checked the entries.tpl already and commented

Code: Select all

<!-- -->
the relevant lines, but it seems only the first entry has no date/author then. All following posts still have.
When I completely delete these lines an error occurs.

Can anyone help me with this?


User avatar
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Re: How do I disable the "Date" in my postings

Post by garvinhicking » Sat Jan 07, 2006 12:51 pm


First off, thanks for yourpraise.:) You actually already went to the right place in your entries.tpl file.

In thedefault entries.tpl (since I don't know which template you're using), you mustcomment out theselines:

Code: Select all

        <h3 class="serendipity_date">{$|@formatTime:DATE_FORMAT_ENTRY}</h3>


Code: Select all

<a href="{$}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>

Those two are used for printing the date in the header section and the footer of your entry.

# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy:
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby:


Post by berlin-girl » Sat Jan 07, 2006 1:05 pm

Thanks, Garvin. Now it works fine!
My mistake was that I commented the complete div class="serendipity_Entry_Date" out.


Post Reply