Posted by emattias on October 24, 2012 at 8:47am
8 followers
Jump to:
| Project: | Panels |
| Version: | 7.x-3.x-dev |
| Component: | In-Place Editor (IPE) |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
We want to be able to make only a few regions "IPE enabled". We managed to do this by using our own intermediate pipeline that overrides render_region and render_pane methods and runs the panels_renderer_standard or panels_renderer_ipe equivalent depending on if we want it to be IPE enabled or not.
It works great except that we don't have a way to configure if we want the region to be IPE enabled or not. I'm thinking that copying the locking functionality of panes to regions would be the way to go. I might do a patch for that. If that is a bad idea, please let me know..
Comments
#1
#2
Panels already supports locking regions. Do you need more than it currently allows?
#3
#4
What do you mean by locking regions? Is it possible to do this(and if so, could you please hint to how):
When an editor clicks "Customize page":
My thinking is to have a "Locking" dropdown header when you press the cogwheel for the region. Like you have for the cogwheel menu for panes.
#5
#6
Do you mean locking panes in a region? Because that's not what we need.
We need to be able to lock the region from IPE completly. So on the same panel when you press "Customize page", some regions get the IPE toolbar and you can add/remove/re-order panes and other regions render like they did before pressing "Customize page". So the locked regions look and behave like they aren't "IPE enabled".
Semantic/UX question: Should it be called that you "lock" the region or that you select the renderer for that region? (Like you select style, etc.)
#7
We don't have time to create a patch for this atm, so I created a Panels Selective IPE Sandbox that provides a new pipeline which will only "IPE Enable" specified regions (which can be set through a db variable).
It's has no extra ui that is talked about in this issue, but it does make it possible to have only part of the page be IPE editable.