Panel for "all other pages"

Events happening in the community are now at Drupal community events on www.drupal.org.
bensnyder's picture

Quick question:
Does anyone know how I could apply a default Panel layout to all pages that do not already have a panel specified?

Or even better:
Is there a variable that would tell me in page.tpl.php if a Panel layout is being used?

Time taken to answer questions like these is always appreciated!!

Comments

Panels Everywhere can do

merlinofchaos's picture

Panels Everywhere can do it.

You can also use page_manager_get_current_page() in your tempalte_preprocess_page which will return array of fun data including the contexts and the page manager page used, if there was one.

Earl it's probably cliché by

bensnyder's picture

Earl it's probably cliché by now but you the man, thanks!

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: