How to use decorator content if

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use decorator content if

rajsaini
Hi,

I am creating CMS contents which are rendered using default "cms"
request map. My CMS content is a screen widget and it is working fine. I
want to decorate the widget with decorator screen widget like
main-decorator and want to keep the decorator screen in the CMS. I see
Content entity has a "Decorator Content Id" field. I tried to use this
field by assigning it a decorator screen content id but it did not work
and I see the following warning "In decorator-section-include could not
find sections object in the context, not rendering section with name
[body]" in the logs.

Does some one know if  "Decorator Content Id" field can be used to
decorate the CMS screen widget contents similar to the screen decorators
are used in Screen files?

Thanks,

Raj