I have installed the wrapper module, but am coming up nought when it comes to getting views to work.
Basically I have one container which is subdivided into 5 sub-containers which are again sub-divided into 2 to 3 categories each.
1. I followed this http://category.greenash.net.au/category_views_usage, but am not able to have anything displayed in either the container or the category pages.
2. Is it possible to display different views for categories within a container? If so, how?
3. Is it possible to provide a block view instead of a page view and then display this on any node?
I had posted this as a forum topic and also posted on the authors site (http://drupal.org/node/199007), but no responses anywhere., I guess there are very few people using Category or many don't have a clue.
I'm impressed by the power of this module in creating hierarchical structures, now I'm midway thru' a website migration and I would have to abandon it if I don't get views to work. Could anyone please help?
Comments
Comment #1
a_c_m commented+ 1
Having the exact same problem.
Comment #2
a_c_m commentedAfter diggin in the code (and not sure why this needs to be this way) but there is a check for depth before $show_nodes is set to true... so in Category display settings set depth to at least 1, and then it should work.
Don't know enough about the module to do a patch, but the bit in question is on line 1523 of category.module
Comment #3
beleebala commentedI have the same problem not able to get views working with Category.
I set "taxonomy: term ID" in the views argument like the instruction above. It does not return any node list. So I manually test the view by adding term ID to the url. It does not work. I look into the drupal_term_node table and found that all the node were assigned with tid=1. So, that's why. Category does not assign the nodes to the terms in the "taxonomy" module. I thought Category mirrors the categories to the taxonomy module automatically. Did I do something wrong?
Comment #4
deadlyminds commentedI had actually found a solution to this, but seem to have forgotten about it. In another forum topic on this problem, someone had developed a patch; this patch allows you to select terms for a category ID.. I guess I'll have to wait for someone to solve this problem else I'll have to go back to Taxononomy and views :(
Comment #5
inforeto commentedBe sure to troubleshoot your install to know if you are getting the issue about the tid=1
the master issue is here: http://drupal.org/node/87669
Expose CID to views is optional, as setting the correct tid on nodes automatically makes the terms work as intended.
(you might need to edit and submit each affected category to save the value of the tid)
Comment #6
JirkaRybka commented- Different views for categories within the same container: That's not supported, sorry.
- Block view: You're free to define one directly in Views, or embed through a PHP snippet into a custom block. Support for block views otherwise sounds like a non-minor feature request against category_views, which I don't see as necessary, and which deserves it's own issue anyway.
- The relation to depth setting is probably by design, or else needs more of a discussion, before it may be considered a bug. Stuff for a separate issue, I guess.
- The problem with tid=1 is a known old bug: #87669: [MASTER] term_node tid getting set to "1", and it affects much more use cases. I hope it's fixed in 6.x, but otherwise the other issue is the right place to discuss that.
This is a support request, silent for over a year and a half - so although it have a bit of good discussion above, I'm going to close it now.
Feel free to re-open.