Skip to Content
author's profile photo Former Member
Former Member

add an attribute to an existing editor from an addon

Hi we are wanting to modify the AbstractPage type to add additional attributes as part of our addon, however we are facing a challenge in getting these attributes to appear in the WCMS editor panel.

We have tried creating the editorArea_AbstractPage.xml in our addon to apply the delta with the hope that this would merge with the source version, and our attributes would show up.

Ideally we want to avoid having to edit the editorArea outside of our addon as it would mean a tight coupling between WCMS and our addon which in my mind defeats the "plugin" nature of the addon approach.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2015 at 08:10 PM

    Addon is also an extension... try modifying a specific page type (like editorArea_ContentPage.xml). editorArea_AbstractPage.xml will be used for page types, that do not have their own xml. And IIRC, hmc.xml gets merged, while this will get replaced...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.