Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedComment #2
videographics CreditAttribution: videographics commentedFor what it's worth. I'm seeing this too after first installation.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedNo ones giving enough info, such as what version of base theme they are using etc.
Comment #4
bryancasler CreditAttribution: bryancasler commentedJeff I'll see if I can get around to reproducing this. videographics, feel free to chime in with your setup.
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commentedQuestion: do you have any blocks in a sidebar, and/or are you choosing the option in Panels to unset all regions?
Comment #6
Dig1 CreditAttribution: Dig1 commentedHi 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)
Comment #7
jjclint CreditAttribution: jjclint commentedI'm having the same issue on a similar setup as the guy above me.
Comment #8
Jeff Burnz CreditAttribution: Jeff Burnz commentedIn the absolute latest dev this should be fix, there are many changes, can you tell me precisely what version you are using?
Comment #9
jjclint CreditAttribution: jjclint commentedI'm was using a pre-13 jun dev version. I've updated and the problem went away.
Comment #10
jjclint CreditAttribution: jjclint commentedBTW what was it?
Comment #11
Jeff Burnz CreditAttribution: Jeff Burnz commentedI'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.
Comment #12
Dig1 CreditAttribution: Dig1 commentedJeff
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.
Comment #13
videographics CreditAttribution: videographics commentedHmmm.... I'm still seeing this with AdaptiveTheme 7.x-3.0-rc6 and AT Panels Everywhere 7.x-1.x-dev (2012-Jun-20).
Comment #14
videographics CreditAttribution: videographics commentedOops. False alarm. I'm only seeing this on a customized version of AT PE that didn't get the dev upgrade.