Patch allow to use taxonomy terms like containers - they visible in menus, but not allow to select it. This is especially usefull for forum module but not only for it. Tested with 4.5.2.

Additionally patch requres changing db scheme (not included to patch):

ALTER TABLE `term_data` ADD `container` TINYINT(1) AFTER `description`;

I understand what patch will not be applied to official 4.5, just placed here for users who interested with such functionality.

See some screenshots and explanations here (in English): http://drupal.ru/node/694

CommentFileSizeAuthor
taxonomy-containers.patch4.48 KBaxel

Comments

axel’s picture

Notes about browsers compatibility:

Such way as OPTGROUP used in patch (OPTION items placed outside OPTGROUPs and groups are empty) it works in GEKO-browsers - containers visible, but not selectable is what we need.

In Konqueror and Links - containers completely unvisible. It still acceptable for usage with forum module, but may be unconvenient for other purposes.

In Lynx - containers visible but formatting is broken.

killes@www.drop.org’s picture

Version: » x.y.z
Status: Needs review » Active

I think this is a desirable feature which could eg be used for forums instead of a variable (who coded that?). We only accept patches for cvs though.

axel’s picture

Version: x.y.z » 4.5.2
Status: Active » Closed (won't fix)

Patch obsoleted by new versions of Drupal.