Hello,
Sometimes it would be good to have node that has nothing but child nodes.
E.g. Node 'About Us' that contains nothing but should be automatically redirect to node 'History' or 'First persons of company'.
I've decided to make a module, that implements such node types.
The only thing, it does is - on hook_view() check, if we show standalone page and there is a child below us - do drupal_goto() to first child. Otherwise show default text.
In attachment you may find archive with this module.
I'm not sure, if this module should be done as separated module. I do not see any objections to either put this module as submodule of Node Hierarchy, or even include code from it into the NH main module code.
And thanks to your module.
| Comment | File | Size | Author |
|---|---|---|---|
| nodehier_redirect.tar.gz | 2.16 KB | comargo |
Comments
Comment #1
markhalliwellCopy & Pasted: This issue pertains to the 6.x-1.x branch which is now legacy and is over two years old. If this issue is not applicable anymore, please consider closing it. Otherwise, please update this issue appropriately. Will be closed in two weeks if no response.