Closed (won't fix)
Project:
Panels
Version:
5.x-2.x-dev
Component:
Panel pages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Feb 2008 at 02:01 UTC
Updated:
12 Mar 2010 at 01:06 UTC
I've run into an issue which i don't think is the intended behaviour of panel pages.
I create two panel pages
1) variable path: %/messages
2) regular path: archive
When i visit the url:
archive/messages
it displays panel 1, I feel the intended behaviour should show panel 2.
Looking at the code in the panel_pages_menu function, i see the comments indicate real url's should be higher priority but the code itself doesn't do this.
I managed to get the intended behaviour by adding a check to see if the current path matches a panel without variables in the url. If it does I just return an empty items array, but i'm sure there must be a more elegant way.
Ben
Comments
Comment #1
esmerel commentedNo fixes are going to get committed to the 2.x line
Comment #2
sun.core commentedSorry, but Panels for D5 will not see any further fixes, since Panels for D6 simply advanced too much and no one cares for D5.