Skip to main content

Articles tagged with "page manager"

CTools Path Access plugin

18th Mar 2011

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...

Read more

Page manager redirect

1st Jul 2010

Quite often you need to redirect a particular path on a Drupal site, there are a number of ways to do this, but most involve writing PHP code. Also, it's not hugely easy to do things like redirect node/%node but only when %node is a 'image' node, posted on a Tuesday. The awesome Page manager module, and a little utility module we wrote changes that.

Page manager redirect Drupal module exposes a 'task handler' to Page manager. This means that we can do a 'task' when page manager matches a path, and other conditions pass; The task that Page manager...

Read more