Needs work
Project:
Node Hierarchy
Version:
6.x-3.x-dev
Component:
Children User Interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2011 at 04:44 UTC
Updated:
28 Feb 2012 at 23:39 UTC
I think that it would be great if this is also configurable in admin. what do you think about this?
Comments
Comment #1
markhalliwellCan you please elaborate more on what you mean? Thanks!
Comment #2
markhalliwellComment #3
tribsel commentedwhat 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... ).
Comment #4
markhalliwellPerhaps, 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 ;)
Comment #5
tribsel commentedyes, 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 ;)
Comment #6
mixhael commentedAny 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?