Hey,

maybe i'm just blind but i can't find a way to make a tab for deleting a node available in tab-menu. it's should be shown for the author (user) and the admin, but it's just not there... permissions are set, i even see it in the tab tamer module, but not on the page.

would be nice if anyone could give me a hint :)

thx

Comments

LiloLilo’s picture

I am just having the very same issue. Also Tab Tamer module shows a delete tab in active state but there is no delete tab in node pages. Did you solve this?

Tks

LiloLilo’s picture

Solved creating a custom module with this code:

<?php

function custom_deletetab_menu_alter(&$items) {
  $items['node/%node/delete']['context'] = MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE;
}

To create a custom module I fond very userfull this example:

http://codekarate.com/daily-dose-of-drupal/drupal-7-module-development-b...

Also please note I got solution here:

http://drupal.stackexchange.com/questions/56922/drupal-7-how-show-the-no...