Doubleclick
Docs > Extensions > Plugins > DoubleclickHere's a simple little snippet you can use to add "edit on double click" capabilities to your site. Just add this line to code.embed.doubleclick:
ondblclick="window.location.href=window.location.href + '&action=edit'"
Then in your bottom zone or wherever you want this feature, just put this markup. The "body" parameter tells BoltWire to insert it in the body tag of the html.
<(embed doubleclick body)>
To edit a page, just double click. Quite cool...
You may wish to wrap the embed command in conditionals to limit this function to certain users, or in certain situations. For example:
<(embed doubleclick body if="auth write && ! set {action}")>
Another option is to just limit this feature to admins.