Page 1 of 1

How do I disable the "Date" in my postings

Posted: Sat Jan 07, 2006 10:45 am
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.

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

Posted: Sat Jan 07, 2006 12:51 pm
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

Posted: Sat Jan 07, 2006 1:05 pm
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.