Ticket

Render content to dynamic layout programmatically from shape override

Hello,

I want to add LayoutPart to BlogPost content type. But as you know content of blog post would not be rendered in layout, so i decided to override shape of blogpost. What i need is to render layout and put blogpost content inside of it. Is there a way to do that programmatically?

Thanks for any help.

Re: Render content to dynamic layout programmatically from shape override

Just tried with a quite recent 1.10.x version, added the LayoutPart to BlogPost content type, and removed the BodyPart. Then it works, i can create / edit a blog post and it is rendered on the front end.

For testing, i created a blog postblog1/post1 and used a text element on the right and one on the left. See the attached image.

Best.

Attachments
Thursday, August 4, 2016 5:50:12 AM byjtkech
  • jtkech
  • Lv. 13 Rookie
  • Total EXP: 1028

Post a reply

You need to be signed in to post a reply.

Sign In