Experimental project

This is a sandbox project, which contains experimental code for developer use only.

OBSOLETE

Please refer to the Local tasks blocks project for future development of this functionality. The 7.x-2.x branch of that project now contains this code base.

INTRODUCTION

Block Local Tasks turns the standard MENU_LOCAL_TASKS into a block that can be repositioned or interacted with at the theme layer. It provides 2 blocks, each representing a different presentation of the tasks on a page:

  1. Plain MENU_LOCAL_TASKS - This is the standard Drupal system output for the tasks, usually rendered as tabs on the page.
  2. Menu MENU_LOCAL_TASKS - This block renders through theme_menu_links and theme_menu_tree, and provides a nice tree of links similar to Drupal core's menu system output. It also allows MENU_LOCAL_TASKS to be integrated with other administration modules such as the Admin module.

Each block exposes several configuration options, including the ability to turn into an accordion, hiding the task links until a user selects expands the block (see screenshots at right).

INSTALLATION

Activate the module and assign one of the 2 provided blocks to a theme region.

Project information