Skip to main content

CTools Path Access plugin

An article from ComputerMinds - Building with Drupal in the UK since 2005
18th Mar 2011

James Williams

Senior Developer
James Williams
Hey, you seem to look at this article a lot! Why not Bookmark this article so you can find it easily in the future?

I made a new Drupal 7 module today... the CTools Path Access plugin. It is a very simple module that provides a CTools access plugin for using the access rules of another path.

For example, you might set up a custom Panels search page in Page Manager, and just want to use the same access rules that the default Drupal search page uses at /search.

I have submitted the plugin as a patch for CTools itself, but until anything happens with that, it is available as a standalone project. I have only written the plugin with Page Manager in mind within a Drupal 7 environment - I will look at a 6.x backport and compatibility with other modules that use CTools access plugins if demand (from the community or myself!) exists.

Hi, thanks for reading

ComputerMinds are the UK’s Drupal specialists with offices in Bristol and Coventry. We offer a range of Drupal services including Consultancy, Development, Training and Support. Whatever your Drupal problem, we can help.