Download & Extend

Custom Contextual Links

Custom Contextual Links Features
Custom Contextual Links

The Custom Contextual Links module allows you to add your own links to the contextual drop down widgets of blocks and nodes.

Contextual links are really great for quick access to settings pages within your Drupal install. They cut down the time required to click through the sometimes cumbersome Drupal administrative navigation. However, the links displayed in the contextual widget need to be defined through a module. This is where CCL comes in. This module allows you to add and manage custom links through a UI that will be displayed in the contextual widgets.

You can add contextual links to:

  • a single node
  • all nodes of a content type
  • all nodes
  • a specific block
  • all blocks
  • all views
  • all displays of a specific view
  • all specific display of a view

Node action links support so far:

  • make a node sticky/unsticky
  • publish/unpublish a node
  • Promote/remove a node from the home page

Local action links can be assigned to pages with a similar interface like core blocks. The visibility can be controlled by:

  • path
  • content type
  • user role

Additionally you can also use Drupal core tokens for title and links. This allows to create a link like "node/[node:nid]/devel" which will add a link to the devel view of a node into the contextual widget.

New in 7.x-1.3

  • Custom links are now exportable.
  • Create local action links. Add quick shortcuts to all sections of your site.
  • Advanced options for links. Add a CSS classes and query parameters to the link. This allows for the creation of links that open up in a lightbox for example.

Thanks

Thanks goes to bmx269 for the idea and sherakama for the help and feedback.
Also to circuscowboy for his work on the views submodule and to BarisW for the implementation of Features support.

Sponsored in parts by ImageX Media.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.3 tar.gz (20.48 KB) | zip (28.45 KB) 2012-May-22 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (20.52 KB) | zip (28.51 KB) 2012-May-27 Notes

Project Information


Maintainers for Custom Contextual Links

  • bkoether - 21 commits
    last: 1 day ago, first: 29 weeks ago

Issues for Custom Contextual Links

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here