This project is read-only.

Add Properties To Layout Element In Orchard

Topics: Core, Customizing Orchard
Jun 30, 2015 at 1:09 AM
I am using the new Orchard.Layouts feature and am currently trying to add a property to the Html Element in Orchard (in the same area where you set the Html Id, Css Classes and styles. I saw that there is a class called LayoutEditorPropertiesItem in which you can pass into the Editor Template for that specific element, but doing that did not save the data, so I'm assuming there are other steps involved.

It is a property I would like to use to add alternates to the element when it is being displayed. What I would like to know is, is it easy to add a property to each individual element OR is there an easy way to add a custom shape to any of the elements?