It would be really useful to have some common content admin links in the menu.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
2.08 KB

Here you go, a quick block for listing links to admin/content/node, admin/content/comment and admin/content/comment/queue.

DamienMcKenna’s picture

FYI I submitted this for inclusion in Admin vs Admin_Tools because Admin already had the "Create content" block, so it felt more like a gap in existing functionality rather than something new.

DamienMcKenna’s picture

FileSize
2.68 KB

Updated patch that adds links for Taxonomy, Webforms and Nodewords.

DamienMcKenna’s picture

FileSize
2.68 KB

I thought it might be useful to have a hook to alter the block to allow other modules to add extra items, so here you go. I added a new hook and documented it in README.txt:

Adding items to the Manage Content block
========================================
The default 'Manage Content' block can be extended using
hook_admin_content_links_alter().

    /**
     * Implementation of hook_admin_content_links_alter().
     */
    function my_module_admin_content_links_alter(&links) {
      $links[] = array(
        'title' => t('More data'),
        'link' => 'admin/content/more-data',
      );
    }
DamienMcKenna’s picture

FileSize
3.93 KB

Oops, wrong patch. Try this one.