Inherit parent menu
| Project: | Create related content |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
First of all, thanks, this module is great for sites with structured content! With CCK support it will be a killer one.
I'm trying to use it to create a hierarchical structure, to provide a better editing interface and to introduce sensible defaults. Here is what I'd like to achieve :
- Have a "Create related content" tab or block on every page, which will replace the generic "Create content" form
- When clicking on it, default to create a child of the current item
- The menu link title of the new node will default to the new node's title
- The menu link parent item will default to current's node menu link (so if I create a child of the "Foo" page, the new node's default parent menu item will be "Foo"'s menu link)
- Taxonomy terms are inherited
- This template applies to all content types
I tried all possible option for the parent menu item in my template's settings, when I try to create a child item I can see that an argument is passed in the URL concerning the menu, but the default parent menu item is always the root of "Primary Links" (the site-wide default menu).
Is this setting only working with the reference content (I didn't set up any in my template)? Can the reference content be the currently active page instead of a fixed one?
Thanks!

#1
I think that this bug was fixed in the devel version. I was waiting on having some spare time on the admin interface before committing these into a new tagged release.
#2
I am also wanting the same thing, mainly to be able to prepopulate the menu dropdown, but this still isn't working correctly with 6x-1x-dev This is the main feature I'm looking for, so I was hoping this module could accomplish what I wanted.
#3
#4
@brisath: Is the bug you reported related to creating content via the tab with no menu access permissions?
After sitting on my hands for the last 4 months with this project, I'm just starting a major refactoring of the system to simplify the admin / templates before looking at CCK / Fields support. So this is a great time to resolve any outstanding bugs / feature requests.
#5
I'm glad you're working on this. It happens when I click the tab, as super admin (user/1).
While you're at it, a couple suggestions I have: Make the tab less verbose because I'm getting too many tabs beginning to exist on my nodes. Or, I recommend that it be a link below the post such as "create child" and "create sibling." Or, make is available as a block.
Thanks for your work on this module, I need something like this so hopefully it will work for me.
#6
PS: A quick workaround to the long tab name will be to set this in your settings.php
<?php$conf['locale_custom_strings_en'] = array(
'Create related content' => 'Create content',
);
?>
Make sure that you add it to this array is it is already being used!! A standard install has this already commented out at the bottom of settings.php
<?php# $conf['locale_custom_strings_en'] = array(
# 'forum' => 'Discussion board',
# '@count min' => '@count minutes',
# );
?>