I get this when enabling the layout.

Notice: Undefined variable: sidebar_classes in include() (line 1 of C:\xampp\htdocs\playground10\sites\all\themes\at_panels_everywhere\plugins\layouts\atpe_site_template\atpe-site-template.tpl.php).

Comments

Jeff Burnz’s picture

Assigned: Unassigned » Jeff Burnz
videographics’s picture

For what it's worth. I'm seeing this too after first installation.

Jeff Burnz’s picture

No ones giving enough info, such as what version of base theme they are using etc.

bryancasler’s picture

Jeff I'll see if I can get around to reproducing this. videographics, feel free to chime in with your setup.

Jeff Burnz’s picture

Question: do you have any blocks in a sidebar, and/or are you choosing the option in Panels to unset all regions?

Dig1’s picture

Hi Jeff

I am keen to use the HTML5 adaptive theme in Panels Everywhere. My configuration is listed below.

When I set up the Default Site Template:
1) I go to Layout and select AT Panels Everywhere
2) I go to Content and get a Red Warning Message

Notice: Undefined variable: sidebar_classes in include() (line 1 of domain/sites/all/themes/at_panels_everywhere/plugins/layouts/atpe_site_template/atpe-site-template.tpl.php).

Any idea how to fix that?

Thanks

Configuration:
Drupal core 7.14,
Chaos tool suite (ctools) 7.x-1.0+26-dev (2012-Jun-02)
Panels 7.x-3.2+5-dev (2012-Apr-24)
Panels Everywhere 7.x-1.0-beta1+2-dev (2012-Apr-23)
adaptivetheme 7.x-3.0-rc2+23-dev (2012-Jun-07)
at_panels_everywhere 7.x-1.x-dev (2012-Feb-15)

jjclint’s picture

I'm having the same issue on a similar setup as the guy above me.

Jeff Burnz’s picture

In the absolute latest dev this should be fix, there are many changes, can you tell me precisely what version you are using?

jjclint’s picture

I'm was using a pre-13 jun dev version. I've updated and the problem went away.

jjclint’s picture

BTW what was it?

Jeff Burnz’s picture

Status: Active » Fixed

I'd made a mistake in the setting the classes in the preprocess function - using PE won't set the classes on the body element like normal, you have to handle it yourself in the site template preprocess function and I hadn't really set it up in a robust way, the new implementation is solid.

Dig1’s picture

Jeff

I have installed AdaptiveTheme 7.x-3.0-rc3 and AT Panels Everywhere 7.x-1.x-dev (2012-Jun-13) and this problem has gone away :)

Thanks for your efforts and quick response.

Nice.

videographics’s picture

Hmmm.... I'm still seeing this with AdaptiveTheme 7.x-3.0-rc6 and AT Panels Everywhere 7.x-1.x-dev (2012-Jun-20).

videographics’s picture

Oops. False alarm. I'm only seeing this on a customized version of AT PE that didn't get the dev upgrade.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.