EPiServer CMS4, Editor, EditMenuName and a Property

by: Øyvind Wabakken Hognestad

Well, some of us still have customers working with EPiServer CMS4. In EPiServer CMS5 the possibility to change the stylesheet with a dynamic property is well documented (search for uiEditorCssPaths in the sdk), but for CMS4 this feature is not very well documented. But the best thing is that it's possible.

A quick look on the longstring property in reflector will give us a hint.

pageeditcss

Searching for PageEditCss in the SDK will not give us any results. Searching http://www.episerverworld.com will give us one result, posted in 2004.

So, i've added a dynamic property named PageEditCss, added the EditMenuName in the new stylesheet and it worked like expected.

I needed this when implmenting a new design for a customer where they wanted to have both the new and the old design working side by side.

Nice to know.

27 May 2008

Tags:


    Comments

    Post a comment    
    User verification Image for user verification  

    About me


    Syndications


    Archive


    Tag cloud

    EPiTrace logger