Problem/Motivation
Currently the panelizer contextual links for nodes point to the node specific settings. This can be quite annoying if you're working on the templates.
It would be great to have links to the template as well.
Proposed resolution
Attached patch adds the contextual links to the template.
Remaining tasks
Reviews needed.
User interface changes
New panelizer contextual links for nodes.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | panelizer-n2246175-4.patch | 2.9 KB | damienmckenna |
Comments
Comment #2
damienmckennaUpdated to improve the contextual link labels.
Comment #3
damienmckennaSorry, my dpm() is showing.
Comment #4
damienmckennaAgain. Doh.
Comment #5
damienmckennaCommitted.
Comment #7
gmclelland commentedReopening...On my install the last four contextual links displayed on my node lead to page that says "Access Denied"
- Edit default display settings
- Edit default display context
- Edit default display layout
- Edit default display content
For example:
The contextual link for "Edit default display content" is pointed to:
/admin/structure/panelizer/node/page.page_manager/contentwhen I think it should point to something like:
/admin/structure/types/manage/page/panelizer/page_manager/node%3Apage%3Adefault/contentI was able to reproduce this on http://simplytest.me/project/panelizer/7.x-3.x
I'm not sure, but I think you have to enable the /node/%node page_manager page and Panelize a content type in order to see the problems. That was the only way I could see the contextual links on a node.