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.

Comments

damienmckenna’s picture

StatusFileSize
new3.06 KB

Updated to improve the contextual link labels.

damienmckenna’s picture

StatusFileSize
new3.03 KB

Sorry, my dpm() is showing.

damienmckenna’s picture

StatusFileSize
new2.9 KB

Again. Doh.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

gmclelland’s picture

Status: Closed (fixed) » Needs work

Reopening...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/content

when I think it should point to something like:
/admin/structure/types/manage/page/panelizer/page_manager/node%3Apage%3Adefault/content

I 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.