Thanks for this module....Its doing wonders!

I am working on an e-learning site, and I am having some problems with it.

In my site, there are many subjects. Each subject( a vocabulary) has many units( terms) under it, and the units have the actual content(CCK nodes named lesson and presentation) under them.

I want a block named Lessons which will list all the subjects and the units under them with content as lesson (CCK node). I want another block named Presentations which will list the subjects and units, but here the content will be presentation(CCK node) instead.

With this module, I am able to choose the content type only for the node count. But I want it to function like how I have mentioned above.

Is there any way to do it with this module?
Thanks in advance.

P.S.: I need to complete this work by the end of Feb 2010

Comments

zio’s picture

Subscribing.
Blocks for different node types assigned to same dictionary is critically needed function.

Fogg’s picture

Subscribing, would be nice feature!

zio’s picture

Version: 6.x-1.8 » 6.x-3.1
henrijs.seso’s picture

must have, looking for solution everywhere, feature planned in Index module, its called filters there, but its not ready yet.

kclarkson’s picture

Any love on this?

gapple’s picture

Version: 6.x-3.1 » 6.x-3.5

I don't quite understand how the original issue isn't possible with the latest release:

Create separate views for each content type, using a term id argument
(e.g. /lessons/%tid, /presentations/%tid)

Create a new Advanced Taxonomy Block
Enable the desired Vocabulary
Limit node counts to one of the desired content types
Set the path pattern for the block to the path of the related view
Repeat for each content type view

----

My somewhat related challenge is that instead of storing taxonomy terms in the core system, I am using content_taxonomy to provide a field for entering the needed taxonomy values. It is then required for the field to sync its values to the core taxonomy system in order for the Advanced Taxonomy Blocks menu to find any count of nodes within the vocabulary; otherwise the entire menu is hidden.
However, since the node type is not selected in the vocabulary configuration (since I don't want the core taxonomy fieldset on the node form), it is not possible to select a content type for which to filter the ATB counts on. I'm working on a patch to try and resolve this.

gapple’s picture

Title: ability to show nodes of a particular type » Limit count to node type when content_taxonomy module is used.
Component: Miscellaneous » Code
Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new3.48 KB

Here's a patch that will list all available node types for the counting option if the content_taxonomy module is enabled. Otherwise it will use the current behaviour of only selecting node types which have been configured for the vocabulary through the core taxonomy module configuration.

gapple’s picture

StatusFileSize
new3.48 KB

Oops. Tried to call module_enabled() instead of module_exists() in the previous patch.

Here is a corrected version.

Solariss’s picture

Thanks a lot for this patch and for this module as well!!!
For me it works excellent. :-)

pat redmond’s picture

Status: Needs review » Closed (fixed)

Applied to the patch by gapple to 6.x-3.x-dev
I will close this issue. Please re-open if necessary.