I would like to suggest that we create a sub-menu under the "Create Content" that displays the available node types that a user can create. This would be very useful for anyone using admin menu.

Comments

droath’s picture

Status: Active » Needs review
StatusFileSize
new972 bytes
stevector’s picture

Version: 7.x-1.0-beta6 » 7.x-1.x-dev
StatusFileSize
new785 bytes

Thanks for the patch droath!

I see the use for these links when using admin_menu module. However, I don't see an upside to replicating the node add form at another path. We already have node_add_list at admin/workbench/create. Those links all go to node/add/[content-type]. So first, I think we should be consistent. Workbench should send users to admin/workbench/create/node/add/[content-type] or node/add/[content-type], but not both.

This part of Workbench was written before I got involved so I can only guess as to the motivation. I'm guessing that the reasoning is that we should reuse existing pages unless we're doing something very different at the new path.

The updated patch uses drupal_goto() to redirect from admin/workbench/create/node/add/[content-type] to node/add/[content-type].

Also, droath, please make patches relative to the module and not your site root so they can cleanly apply with git.

droath’s picture

Status: Reviewed & tested by the community » Needs review

Patch #2 works! It totally makes sense to do it this way. I should have caught that beforehand.
I will remember to roll my patches relevant to the module, thanks for the heads up! :)

droath’s picture

Status: Needs review » Reviewed & tested by the community
stevector’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.