Removing/cleaning archive?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
FF
Regular
Posts: 18
Joined: Fri Feb 02, 2007 11:56 pm

Removing/cleaning archive?

Post by FF »

I've created a new log with serendipity a month of 2 ago.
At the moment there are only 3 users, 1 category and 3 images in the media library. The log won't be used till august, but there are still archives created.

Is there an easy way to remove/clean the archive?

If not, what to edit/remove in the database-tables?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Removing/cleaning archive?

Post by garvinhicking »

Hi!

You can simple delete old entries (via the serendipity panel), and if no old entries are present, serendipity will show no archives for those months in which no entries have yet been added.

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/
FF
Regular
Posts: 18
Joined: Fri Feb 02, 2007 11:56 pm

Re: Removing/cleaning archive?

Post by FF »

garvinhicking wrote:Hi!

You can simple delete old entries (via the serendipity panel), and if no old entries are present, serendipity will show no archives for those months in which no entries have yet been added.
There are no entries at all in the log.
It's completely empty.

But the archive-panel at the frontpage shows:

Code: Select all

Mei 2007
April 2007
Maart 2007
Recentelijk...
Ouder... 
(Dutch for May 2007, April 2007, March 2007, Recent, Older)

Selecting one of the links gives:

Code: Select all

Er zijn geen bijdragen af te drukken
(Dutch for No entries to publish)

I made some testentries in the past, but as far as I can remember none in May.

If you want to see the site I can mail / PM you with a link and password.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Removing/cleaning archive?

Post by garvinhicking »

Hi!

Usually serendipity displays archive links for all months plus at least 3 before them. You can configure the archives sidebar plugin to show 1 or 0 months beofre the current one, if you don't like that link.

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/
FF
Regular
Posts: 18
Joined: Fri Feb 02, 2007 11:56 pm

Re: Removing/cleaning archive?

Post by FF »

garvinhicking wrote:Hi!

Usually serendipity displays archive links for all months plus at least 3 before them. You can configure the archives sidebar plugin to show 1 or 0 months beofre the current one, if you don't like that link.
Ah :)
I thought the archive would only be created when there were postings made.

Maybe I'll just reinstall in August :)

Thanks.

BTW, what is HTH?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Removing/cleaning archive?

Post by garvinhicking »

Hi!
Maybe I'll just reinstall in August :)
If you go to your blog in august, it will only contain the links to the three past archives - you don't need to reinstall :)
BTW, what is HTH?
That means "Hope that helps" :)

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/
Post Reply