This project is not covered by Drupal’s security advisory policy.

Page Manager Templates is for developers who use Page Manager/Panels.

***********
* README *
***********

Page Manager Variant Handler

Do you have some pages on your site that you could best build and modify with hand-written HTML templates rather than Panels? Do you already do this sometimes by creating your own hook_menu (or hook_menu_alter) and hook_theme implementations? This module will make this process faster and your architecture more consistent.

You can add variants to a page manager page which use 'Template' rather 'Panels' handlers. Specify a template name and you can start templating in it in a custom module or theme, with all your Page Manager contexts available as variables. Need to clean up those variables before they go to the template, or add custom css or js? It will show you the name of the preprocess function you can use.

Page Manager Content Type

Do you tend to make one-off custom Panels panes (aka Content Types) which output custom markup you use on one specific page? Do you use https://drupal.org/project/plugin_stub to make them and then create the markup in render arrays, or use hook_theme to add a new template file you call from the new content type? Do you have to get a developer to do all this before you hand the work to a themer? Seem like kind of a pain just to add some HTML to a page? This module will make this process faster and leave you with less code to maintain.

You can add a Template pane to your Panels. It works just like the Variant Handler above. Specify a template name and you can start templating in it in a custom module or theme, with the contexts available as variables. Need to clean up those variables before they go to the template, or add custom css or js? It will show you the name of the preprocess function you can use.

Supporting organizations: 

Project information

Releases