We love your module, would love to have an option to specify the recursion depth for each menu item created. For example, if site admin selects 'all' as an option, then the url will include the '/all' so that clicking the menu item will return content for the term being clicked plus all content for any child terms.

Should also let the admin specify a recursion depth number, such as '2', so the taxonomy urls would be taxonomy/term/tid/2 telling drupal to go 2 levels deep.

These are just nice to have features when you might find time.

Comments

justageek’s picture

I think this is already possible from what I read, I just can't figure out how to do it. Sorry.

indytechcook’s picture

Status: Active » Postponed (maintainer needs more info)

This is possible. You can use hook_taxonomy_menu_path to alter the path.

See the doc here from some help. http://drupal.org/node/380652. Pay attention to the hook_taxonomy_menu_path section AND the recommendation section at the bottom. There is some info on how to add options.

Please let me know if you need some more help and I can write up a quick example.

indytechcook’s picture

I was thinking of adding an $options array to be used to create the options on the vocab edit page and create the variables instead of having you do all of the other work. Would that be useful?

indytechcook’s picture

do you need anymore help with this?

justageek’s picture

Thanks much, I think I can figure it out from the docs.

justageek’s picture

Thanks much, I think I can figure it out from the docs.

indytechcook’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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