Closed (fixed)
Project:
Panels
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 12:37 UTC
Updated:
14 Jan 2008 at 12:30 UTC
Panels should be genereated in order of appearance. Instead, they are generated in alphabetical order. Sometimes other modules/themes may depend on nodes being generated in order of appearance and this gotcha should be closed.
Comments
Comment #1
merlinofchaos commentedI don't understand what you're saying.
Are you talking about the panels administration page? (admin/build/panels) They are in alpha order there to make it easier to find. They are not nodes; there isn't a way for another module to really link into this page, either, so I don't understand what other dependency there might be there.
Comment #2
rgladwell commentedSorry, for not being clear: the panels module seems to pre-generate panel layouts before spitting out the HTML to display. Each panel's output is generated, not in the order it is displayed (top panel first, etc.), but in alphabetical order of the panel ID as defined in the 'content areas' variable from the *.inc panels_layouts() function.
For example:
Comment #3
rgladwell commentedThis might be important, for example, for a theme that displays the first node/element/whatever on a page differently from the rest and relies upon nodes being generated in order.
Comment #4
catchI doubt this is still an issue, but please re-open if it is.