Foros de discusión

Web Content: Your type must allow children pages.

thumbnail
Benny Bräuer, modificado hace 13 años.

Web Content: Your type must allow children pages.

New Member Mensajes: 19 Fecha de incorporación: 13/08/09 Mensajes recientes
Hi all,

I'm trying to add some web content to a page which has some children. I'm getting this error message: "Your type must allow children pages."

What is to do to add web content to such a page?

Cheers
Benny
thumbnail
Samuel Kong, modificado hace 13 años.

RE: Web Content: Your type must allow children pages.

Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
You can have different types of pages (Portlet, Panel, Embedded, Web Content, URL, Link to Page). Embedded, Web Content, and URL types pages cannot have children pages under them. If you want to have children pages, use a Portlet, Panel, or Link to Page type page.
thumbnail
Benny Bräuer, modificado hace 13 años.

RE: Web Content: Your type must allow children pages.

New Member Mensajes: 19 Fecha de incorporación: 13/08/09 Mensajes recientes
Hi Samuel,

thanks for your answer. emoticon

May I ask why this is so? I mean, isn't it a kind of a weak point in the CMS functionality of Liferay?

Cheers
Benny
thumbnail
Samuel Kong, modificado hace 13 años.

RE: Web Content: Your type must allow children pages.

Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
Hmmm...I'm not sure why that limitation is there. Feel free to create an improvement ticket at issues.liferay.com.

As a workaround, instead of using a "Web Content" type page,
* use a "Portlet" type page.
* Change the page layout to a one column layout
* Add a "Web Content Display" portlet and configure the portlet to display your web content.
thumbnail
Benny Bräuer, modificado hace 13 años.

RE: Web Content: Your type must allow children pages.

New Member Mensajes: 19 Fecha de incorporación: 13/08/09 Mensajes recientes
Hi Samuel,

I created the ticket.
Thanks a lot for your workaround! emoticon

Cheers,
Benny