Per Nergård
Dec 7, 2010
(0 votes)

Quick publishing in edit mode

In CMS 6 EPiServer introduced a nice new functionality for the not so frequent editors. If you don’t know what it is read more about it here.

It’s real simple to setup with only some minor configuration in EPiServer.config and you’re ready to go. The quick guides are accessed from the online center via the Quick Links gadget.

It works great but I think it’s a bit limiting that you need to specify the parent page where each guide will publish it’s pages. And what about the editors that are more advanced but still would benefit from using quick publishing but would like to do it from within edit mode?

It’s the Application\UI\CMS\Edit\NewPage.aspx that creates the table with available page types for creation.

So I did my own version of the codebehind and changed the inherits attribute in the aspx to point to my custom class instead.

Now the create links for the page types where the page type name exist in a page guide section will start up in quick publish mode instead of regular edit mode.

It looks like this for the News demo type:


Now if all was well it would be up to you how you want to control this. Have two different create links one for quick publishing and one for norma, or control it behind the scenes based on roles in web.config or maybe settings for properties or something else.

Unfortunately the page tree isn’t updated when publishing the page. It’s some code in the Editpanel.SavePage() method that needs to be changed. After a quick look I decided that it wouldn’t be a good solution of if possible at all (uses private eventhandlers and stuff).

So this failed miserably though it looked so promising. Maybe I’ll have a go at it from another angle.

Code is available over here if someone wan’t to have a look..

Dec 07, 2010


Please login to comment.
Latest blogs
Implementing EmbeddedLocalization in Optimizely CMS 12

My previous post on translation (Translating Optimizely CMS 12 UI components) gives an overview of how to implement the FileXmlLocalizationProvider...

Eric Herlitz | Jan 27, 2023 | Syndicated blog

Breaking changes in EPiServer.CMS.TinyMce 4.0.0

After upgrading to the latest version of EPiServer.CMS.TinyMce, the dropdown with formats disappears. Learn how to get it back!

Tomas Hensrud Gulla | Jan 27, 2023 | Syndicated blog

Translating Optimizely CMS 12 UI components

Optimizely CMS 12 have been out for a while now, but still some elements haven't been properly translated resulting in a GUI defaulting to english....

Eric Herlitz | Jan 26, 2023 | Syndicated blog

Image preview in Optimizely CMS12 all properties view

With these simple steps, you can now see an Image and its Metadata, including size and dimensions, when editing an Image property in Optimizely...

Tomas Hensrud Gulla | Jan 26, 2023 | Syndicated blog