How do I disable the "Date" in my postings

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

How do I disable the "Date" in my postings

Post by berlin-girl »

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?

Regards
berlin-girl.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post by garvinhicking »

Hi!


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">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h3>
and

Code: Select all

<a href="{$entry.link}">{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.

HTH,
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/
berlin-girl

Post by berlin-girl »

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

Regards
berlin-girl.
Post Reply