Closed (fixed)
Project:
Panels
Version:
7.x-3.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2015 at 15:57 UTC
Updated:
13 Aug 2016 at 04:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eclipsegc commentedcode!
Ok, this code adds an alter into panels_ipe_toolbar_add_button() which allows us to edit each button individually as necessary. In addition to this change, I've passed the non-clean-string'd version of the IPE cache key. To compensate for this change, I clean the string before rendering the buttons in the theme function.
All of this together gives me an alter that allows me to control much about these buttons including things like access. In my own use case, I'm denying access to these buttons on workbench_moderated node types so that draft mode edits are the only way to alter the display, but that's just my own use case.
Comment #2
eclipsegc commentedoops, ok code for real
Eclipse
Comment #3
eyilmazThank you. Reviewed and tested. Works as expected.
We are using this in for the same purpose as Eclipse, but with revisioning/workflow.
Would be nice if this gets committed soon.
Comment #4
Anonymous (not verified) commentedWe have been using this for 6+ months in production as well with no problems.
Comment #6
japerryThis is also being used in production by lightning and some others. Looks good to me. Committed.