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
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | taxonomyblocks-contentypes.patch | 3.48 KB | gapple |
| #7 | taxonomyblocks-contentypes.patch | 3.48 KB | gapple |
Comments
Comment #1
zio commentedSubscribing.
Blocks for different node types assigned to same dictionary is critically needed function.
Comment #2
Fogg commentedSubscribing, would be nice feature!
Comment #3
zio commentedComment #4
henrijs.seso commentedmust have, looking for solution everywhere, feature planned in Index module, its called filters there, but its not ready yet.
Comment #5
kclarkson commentedAny love on this?
Comment #6
gappleI 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.
Comment #7
gappleHere'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.
Comment #8
gappleOops. Tried to call
module_enabled()instead ofmodule_exists()in the previous patch.Here is a corrected version.
Comment #9
Solariss commentedThanks a lot for this patch and for this module as well!!!
For me it works excellent. :-)
Comment #10
pat redmond commentedApplied to the patch by gapple to 6.x-3.x-dev
I will close this issue. Please re-open if necessary.