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

esmerel’s picture

No fixes are going to get committed to the 2.x line

sun.core’s picture

Status: Active » Closed (won't fix)

Sorry, but Panels for D5 will not see any further fixes, since Panels for D6 simply advanced too much and no one cares for D5.