Howdy,

i happened to try the Taxonomy_default module to automatically assign a term to one or more specific content-types without any user interaction (this is really usefull if you want to assign only one term to a type and no choice by the user is really needed) and it works like a champ!

I then wandered if was possible to clean-up and simplify my Category structure using the Taxonomy_default module instead of the complicated "Hidden containers" combination (also, if i don't remember bad, were not hidden containers creating problems with breadcrumbs, pathauto and something else?):

the settings of the module fully reflect the taxonomy structure created by the Category module (provided that the Taxonomy wrapper is configured to do this), but unfortunately the final taxonomy (category) term is not attached to the node on edit... :(

So the probably n00bish question is:
would not be a "Category_default" module be a simplier and better solution for automatically selecting terms for specific content-types without any user interaction?

Thank you

CommentFileSizeAuthor
#5 category_defaults.module7.07 KBmarcoBauli

Comments

venkat-rk’s picture

I suspect the answer is that while it will be useful, it will help in categorisation, not structure. The biggest advantage of hidden containers is that it also allows complex structures and is vital to the overall philosophy of category module- combinining both structure and categorisation.

venkat-rk’s picture

But I agree that some kind of category_default function would be very handy. Should this be a feature request then?

marcoBauli’s picture

just filed an issue about Taxonomy_default and Category at http://drupal.org/node/84937

..from the first impression of it's manteiner it could be a bug of the first mod, so maybe it's better to wait a while and see how this solves..

marcoBauli’s picture

Title: Taxonomy_defaults instead of hidden containers? » Taxonomy_defaults incompatibility
Component: Miscellaneous » Wrapper modules
Category: support » bug

..or a bug in the taxonomy_wrapper?! :|

marcoBauli’s picture

Status: Active » Needs review
StatusFileSize
new7.07 KB

asked a developer to fix this: a new Category_defaults.module was coded based 90% on Taxonomy_defaults.

I tested on 4.7.2 with latest version of Category and works fine, you can find it attached here.

I also posted a cat_defaults.patch at http://drupal.org/node/84937 , in case anyone is willing to use it to make Taxonomy_defaults fully compatible with Category: there is ideally no need for two modules IMO, since they are very the same.

Unfortunately i'm no coder, so what i could i did, feel free to pick it up and join the two things if you have the time ;)

@jaza: maybe this can be included as a contrib module in the Category package?