I am using PANELS to create pages.
When looking at: admin/build/pages I see a list of the panels which I can edit.
I simply want to add a column in this list showing which layout each PANEL is using.
Rather than trying to mod the list (which I could not figure out)
... I am trying to build my custom list using TABLE WIZARD / VIEWS module.
I found the table in my DB called:
panels display <----- this looks like the table with the layout used, which uses "did" as the primary key
page_manager_handlers <---- this looks like the table linking "did" to the panel name and task, but:
The two "did" keys are out of sync! -they simply to not jive with each other.
Q: How do you either add a column to the existing admin/build/pages showing which layout panels is using,
OR - How to construct a list of: PANEL NAME + LAYOUT USED? The end result would be to create a link to:
admin/build/pages/edit/page-xxxx
Is this something that should be included? ie: listing the layouts used in the page list display page?
Thanks for any help.
Comments
Comment #1
savinsur commentedAnyone?
Comment #2
merlinofchaos commentedThe 'did' in page_manager_handlers does is not the same did that is in panels_display -- it is actually a leftover from when handlers were called delegator_handlers -- it is a unique serial ID to that record and is of very little actual interest.
The actual did in the handler will be in the 'conf' field which is a serialized array. You won't be able to directly link a handler to a display, because handlers are not required to have panel displays.