-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Milestone
Description
Hi,
In Kalatheme's template.php we have:
// If panels arent being used at all.
$variables['no_panels'] = !(module_exists('page_manager') && page_manager_get_current_page());
This is useful in your own page.tpl.php so can add a container class if you have a page that is not based on panels:
<div class="column <?php $no_panels ? print 'container' : ''; ?>">
My problem is that this does not work for a panelized page.
In my use case I would also like to detect that the current page is panelized and in that case don't add the container class.
Does anybody know how to detect that a page is panelized in the same way we do this for a page manager panels page?