Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Per Nergård
Dec 7, 2010
  6237
(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:

QuickPublish

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

Comments

Please login to comment.
Latest blogs
Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog