Active
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
Mobile
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 19:59 UTC
Updated:
10 Jul 2013 at 10:06 UTC
I have the following issue when using the adaptive theme with the "Sky" subtheme. The following notice appears on my home page, which is a simple panel that shows the most recent node of a certain content type:
Notice: Undefined variable: pane_prefix in include() (line 30 of/home2/cmccully/public_html/wildcatreview/sites/all/themes/adaptivetheme/at_core/templates/panels-pane.tpl.php).
Notice: Undefined variable: pane_suffix in include() (line 69 of/home2/cmccully/public_html/wildcatreview/sites/all/themes/adaptivetheme/at_core/templates/panels-pane.tpl.php).
My home page is at wildcatreview.org.
Comments
Comment #1
bomarmonk commentedAlso, I'm using the "Mobile Theme" module to display this theme only on mobile devices.
Comment #2
Jeff Burnz commentedThe prefix is set by Panels module, AT merely overrides the template to alter the markup.
Comment #3
bomarmonk commentedI don't get this error with my non-mobile theme, only when viewing the panel with AdaptiveTheme, so panels aren't getting along with Adaptive for some reason... of course, I have a limited understanding of what's going on here, but would sure like the problem to go away. Any suggestions?
Comment #4
bomarmonk commentedComment #5
artatum commentedHello
I've got the same issue
Notice: Undefined variable: pane_prefix in include() (line 30 of /.../mysite/sites/all/themes/adaptivetheme/at_core/templates/panels-pane.tpl.php).
with Page Manager or Mini-Panels.
What could we do please ?
Comment #6
Jeff Burnz commentedPlease see my answer in #2 - Adaptivetheme is not setting this variable, Panels module does this, the code in adaptivetheme/at_core/templates/panels-pane.tpl.php is basically identical to Panels module for the pane prefix and suffix - I can never reproduce this based on what you are telling me because there has to be some other reason why you get the Undefined variable problem (I can't guess what it might be).