'year' doesn't show up

hyunkatie - July 12, 2008 - 15:57
Project:Archive by Terms
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

under each term, I think 'year' is supposed to show up.

But I couldn't see them. I can just see 'terms' of 'vocabulary' I chose in 'Archive by term module' configuration page.

How can I solve it? I am using drupal v6.2

Thank you in advance

#1

rapsli - July 14, 2008 - 04:21
Status:active» postponed (maintainer needs more info)

I assume you have some nodes?
Are there any error messages? Can you maybe provide a screenshot?

#2

soffy - August 15, 2008 - 13:26

I have the same problem, I can see the 'terms' in the block but not 'year' when I click on the links. I have nodes under each term. Any suggestions?

#3

rapsli - August 15, 2008 - 16:51

This is kinda hard to do from here...

I'm gonna try to provide support here. I uploaded some small changes. Check out the latest dev version.

Are there any nodes that you have submitted under the term?

#4

soffy - August 19, 2008 - 08:22

Hi!
Thank´s for trying to help and solve my problem.
I tried out your latest version but unfortunately it behaved very strange. All my vocabularies showed up in the block, even though I´d just marked one of them. I found the 'year' under one of the terms (not in the vocabulary I had marked) but when I clicked the link for '2008', I got a heading on the page saying, "January 1970". Not so easy to explain but maybe my attached images can visualize what I´m trying to describe.

There are nodes under the terms in the vocabular I want to show.

AttachmentSize
pic1.gif 15.58 KB
pic2.gif 24.89 KB

#5

kisszoltan71 - September 6, 2009 - 21:03

This patch may help:

//We get all the terms that should be displayed in the block
$sql = "SELECT tid,name, vid FROM {term_data} ".$where;
$result = db_query($sql, $arWhere);
$out = array ();
$i = 0;

//for each term selected we get the nodes
while ($row = db_fetch_object($result)) {
$nid_by_year = archive_by_terms_get_years($row->tid, $row->vid);

#6

kisszoltan71 - September 6, 2009 - 21:03
Version:6.x-1.0-beta» 6.x-1.x-dev

#7

rapsli - September 7, 2009 - 05:09

is in head

#8

rapsli - September 22, 2009 - 22:08
Status:postponed (maintainer needs more info)» fixed

#9

System Message - October 6, 2009 - 22:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.