i made this this patch to let you see all children when you go to a parent url. for example:
suppose you have a site organized like:
sports
|---ball sports
| |---football
| | |-indoor
| | |-outdoor
| |
| |---baseball
|
|---mind sports
|---chess
you want to point your browser to http://www.example.com/ball-sports
and get all entries in 'ball-sports' but also in 'football' and 'baseball'.
as far as i know, there is no easy way of doing this. so i created this patch.
from the admin page you can check or uncheck a 'show children' checkbox. if unchecked, it remains as always. if checked, it gives you al children when listing a term.
i also modified the database but i'm not sure on how to submit a patch for the mysql table.
you also have to add a column to the table 'vocabulary' named showchildren.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy.show_.children.patch | 5.32 KB | claus2080 |
Comments
Comment #1
nancydruI'm sorry, but I cannot accept a patch against core modules. If you can figure out how to do this with standard API functions and/or custom code, I will entertain it (this is a good idea).
Changes to core modules would have to go through http://drupal.org/project/drupal.