I follow the below instruction according to document in module but not possible to get
panels_everywhere_site_template in reference variable.... hence the template not executing!

You can also give your theme a hybrid mode where it will be smart and use its
normal page.tpl.php if the site_template is not in use, and use a stripped
down page.tpl.php if it is. Place the following code in your theme (chances
are you already have a preprocess page).

  function MYTHEME_preprocess_page(&$vars) {
    if (!empty($vars['panels_everywhere_site_template'])) {
      $vars['template_file'] = 'page-panels-everywhere';
    }
  }

Please let me know if any alternative solution of this

Comments

Letharion’s picture

Priority: Critical » Major

I've never tried this, so I don't quite follow. What is not possible?

Doesn't sound like a critical problem.

roynilanjan’s picture

page-panels-everywhere.tpl.php is not possible to execute! by using the above snippet according to README of module!

merlinofchaos’s picture

In Drupal 7, $vars['template_file'] has changed. I think you need to use $vars['theme_hook_suggestions'][] now, but I'm not 100% sure. I always forget exactly how that was changed. Please check the theming documentation for this.

roynilanjan’s picture

Ok tnx will investigate & let u know

roynilanjan’s picture

Ok tnx will investigate & let you know if any problem

pyxio’s picture

Hi roynilanjan. did you ever find the answer to this? cheers kevin

iztok’s picture

Stumbled on the same issue. It seems like this hybrid page.tpl.php is not getting picked up.

Seems like that documentation for this is outdated since stripped down page.tpl is not being used anymore.