SupportArea

BoltWire is a FREE content management system written in PHP.

Its innovative architecture combined with best-in-class forms processing makes it ideal for creating complex, interactive, web applications fast...


PLUGINS

SKINS

LANGUAGES

Edit on Dbl-Click

Extensions > Plugins > Edit on Dbl-Click

Here'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.dblclick:


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 dblclick 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. For example:

[if auth write && ! set '{action}']<(embed dblclick body)>[if]

Another option is to just limit this feature to admins.