Table of Contents

QuickE (Quick Edit)

you are here (click to zoom) - discover the stack

QuickE (pronounced quick-e) is the quick-edit feature inside 2sxc to quickly add / move modules and inner content blocks. It supports touch and usually is used with a mouseover.

Example showing quickE

In the current version, it allows you to do the following in normal view-mode:

  1. add a content or app module on any position in a Dnn panes
  2. move / delete any Dnn module using a copy-paste concept
  3. send any Dnn module to an empty pane (which couldn't do paste, as the target is invisible)
  4. add a content or app content-block to any inner-content area
  5. move / delete any content-block inside an inner-content area

Since version 2.0 you can also configure some of this at skin and template level.

How to use

By default any page that has any 2sxc module added will automatically load quickE because it needs it to provide buttons/toolbars for inner content blocks.

We also recommend to include the JS in the skin by default, so that quickE is already enabled on empty pages as well. You can find the necessary asp.net web-control in our Bootstrap Instant Theme Here's how:

<%@ Register tagprefix="Edit" tagname="QuickEdit" src="~/DesktopModules/ToSIC_SexyContent/DnnWebForms/Skins/QuickEdit.ascx" %>
<Edit:QuickEdit runat="server" />

The above lines first tell .net that this control QuickEdit exists, and then adds it to the page using the <Edit:...> tag. Note that this tag won't create any HTML, it will just tell Dnn that it must load the relevant JavaScripts when a user is logged on. Once it's included, it will just work automatically.

Auto-Disabled Module-Quick-Edit on Details Pages

By default quickE will change it's behavior if it finds inner-content blocks. The reason is that often inner-blocks are found on child pages of something, for example in blog-post details. If the user could insert both modules and inner-content on a details page, then the user would often by accident insert modules (instead of content-blocks). The user would believe that he did the right thing, when in reality the newly added module would now show up on all other details-pages as well.

Now there are cases where this auto-disable shouldn't happen - for example in accordeon-style modules which are used on normal pages. This can be configured as explained below:

Configuring quickE Quick-Edit

Since quickE 2.0 (released in 2sxc 8.7) you can now also configure it a bit. Here are the most important features

  1. enable / disable the entire quickE
  2. enable / disable module quick-edit
  3. enable / disable inner-block quick edit

Read more about this in the Html Js documentation page

Read also

You should find some code examples in this demo App

History

  1. quickE 1.0 in 2sxc v08.04
  2. quickE 2.0 with move/delete dnn module and configurable in 2sxc 08.07.00