How do I filter archive by content type?

jcbrew - June 25, 2008 - 15:48
Project:Archive
Version:5.x-1.10
Component:Settings
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I found this question for Archive 6, but I need help with Archive 5.x-1.10.

How do I filter archive by content type? For example, if archive was indexing 'news', 'releases' and 'letters', how would I show only 'news from 2008'?

Thank you!

#1

jcbrew - June 25, 2008 - 16:09

Just to add to the above post.

I went to admin/settings/archive and selected the types I wanted to archive. When I go to archive/ it displays EVERYTHING even the content types that are not selected and are unpublished...

#2

jcbrew - June 25, 2008 - 22:42

Would you guys say I'd be better off using Views for archived articles? I've used Views before and like the way it works... A little complicated but nice.

Thanks

#3

Susurrus - July 2, 2008 - 03:12
Status:active» active (needs more info)

Can you provide a link to your archives page?

If you would like to use Views, you're welcome to do that if you think it'd be easier.

When you visit the archive there should be links at the top to select just the dates and node types you want to display. It's disconcerting that unpublished nodes would be displayed considering the query requires that the node status be 1, which is only true if it's active, or at least that's my understanding.

#4

jcbrew - July 2, 2008 - 16:19

http://www.yatesracing.com/index.php?q=archive

http://www.yatesracing.com/index.php?q=archive/200805
This page shows several image types that are, not an article type designated to be archived and are not even published. I had unpublished them to see if they would be removed from the archive list.

#5

Susurrus - July 3, 2008 - 16:31

What I'm seeing on your archive page doesn't look like my module, at least as it comes unthemed. It also doesn't follow the same URL structure as my module. You sure this is the right one? Yours looks like a more custom module.

#6

ezunkwelle - July 13, 2008 - 19:47

I am running drupal 5.7 and could not get archive module 5.x-1.10 to accept my settings.
In the admin page I checked only stories as filter but everything shows up - pages, forum, blog, rotor item, every content type that is available.
I just want to archive the story items.
What to do?
Thanks.

#7

Susurrus - July 14, 2008 - 01:21

Can you provide a link to the archive page of your site?

#8

jcbrew - July 17, 2008 - 13:46

I am using archive-5.x-1.10.

The only thing I changed was the CSS file that came with my theme...

#9

Susurrus - August 18, 2008 - 08:44

The archive page that you're using looks nothing like the archive page should on a default install of this module, that's why I'm trying to figure out what's going on.

Could you disable the archive module and then visit your archive page again (http://www.yatesracing.com/index.php?q=archive) and see if it still shows up? The URLs for archive should look like http://www.yatesracing.com/index.php?q=archive/NODE_TYPE/YEAR/MONTH/DAY/. The format of archive/200808 is nothing like this module uses.

#10

jcbrew - September 16, 2008 - 14:04

Sorry for the delay... I gave up on Archive and used Views to create my archive pages.

#11

Susurrus - September 16, 2008 - 17:22
Status:active (needs more info)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.