Dave Burke : Freelance .NET Web Developer specializing in Online Communities

All New Sueetie Content Part Control

I rewrote the Sueetie Content Part Control from the ground up over the weekend, something I wanted to do for a long time.  Some of us on the Sueetie Forums have been talking CMS and I knew that the first step in forming some sort of CMS functionality in Sueetie was to build a more robust Content Part Control for inline page editing.  The new Content Part will be part of the Sueetie Version 1.4 release planned for October.

The Sueetie Content Part Control was one of the first Sueetie controls. It was all client-side, based on the NicEdit javascript editor and worked fine.  The thing is, I never liked it much.  I’m a TinyMCE guy and missed using the more beefy editor, so now I’m happy with a TinyMCE-based Content Part Control.

Here are screenshots of the old and the new.  First is the original NicEdit-based Content Part in WYSIWYG and HTML format.

Next is the new Content Part using TinyMCE. As previously, all windows are draggable with my favorite feature being one-click fullscreen display of both the WYSIWYG and HTML windows.

Initializing the editor window will work a little differently in the new control. Instead of mousing-over the content area and double-clicking, an icon will display for users with permission to edit the content.

By default, users in the ContentAdministrator group have the ability to edit content. This can be overridden with a new "Roles" property. In the following, members of the ContentAdministrator group as well as ShopManagers and ProductManagers will see "the pencil." The pencil icon is customizable, as is its location.

<SUEETIE:ContentPart ID="ContentPart2" runat="server" ContentID="HomeContent" 
        Roles="ShopManagers,ProductManagers" />

The Centralized Administration Content Part Editing function is still available and will continue to use NicEdit. The "Users" tab per content item specifying who can edit it along with its permissions logic has been removed in exchange for the simpler "Roles" assignment logic.

Additional information about the new Content Control is available in the Sueetie Wiki Patterns and Origins area.

Comments (0) | Post RSS RSS comment feed

Posted on 7/19/2010 11:21:16 AM by Dave Burke
Categories: Sueetie
Tags: | |

Related posts

Pingbacks and trackbacks (1)+


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke