I think that it would be great if this is also configurable in admin. what do you think about this?

Comments

markhalliwell’s picture

Can you please elaborate more on what you mean? Thanks!

markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)
tribsel’s picture

what I meant was that it would be great if user is able to set where menu item "Create new child CONTENT_TYPE" will be displayed. Places what I suggested are node links (area where links like Add new comments are") or tabs (view, edit... ).

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Needs work

Perhaps, I know that I had attempted to place the links in hook_link before, but it got reverted. I not sure how I feel about a local task (up by view/edit of the node) yet. Let me think about this some more.

Regardless, I do think that the create child links should be added to hook_link instead of just appending to the end of a node's content. This isn't helpful when generating content using things like Panels or Views I have noticed ;)

tribsel’s picture

yes, exactly. BTW tabs are also great for this and other modules use them. In my case - I am using node hierarchy module with node gallery and views to achieve tree-like folder/subfolder structure. Node gallery puts links like Manage images, Upload images, Sort images into local tasks (tabs). Node hierarchy appends its links into content. And then there are node links. this results in not very nice UI ;)

mixhael’s picture

Any solution to this? I rather move the 'add new child....' links to the local tasks too. Just makes more sense

Is there an easy hack to add them to the tabs via template.php?