Fórum

I need to display web content on a default page - Liferay 7

Csaba Meszaros, modificado 7 Anos atrás.

I need to display web content on a default page - Liferay 7

Junior Member Postagens: 42 Data de Entrada: 10/10/13 Postagens Recentes
Hi!
I would like to know what is the proper way in Liferay 7 for displaying the full content of a structure called MyStructure.

What I intend to do is:
1.) Create a hidden page with path /my-structure
2.) Add an AssetPublisher portlet to this page, and make it default for this page.
3.) Go to MyStructure and set /my-structure as default display page.

What do I have to do to make all full content of type MyStructure display on /my-structure page, regardless of where the initial AssetPublisher ( with summaries of contents) resides?

I need a short, step-by-step description. Thanks!
thumbnail
Eduardo P. García, modificado 3 Anos atrás.

RE: I need to display web content on a default page - Liferay 7

Regular Member Postagens: 157 Data de Entrada: 16/03/12 Postagens Recentes
Hi Csaba,

You need to configure the link behavior of your initial Asset Publisher (the one where you list the summaries). Go to Configuration > Display Settings > Asset Link Behavior and select "View in Context". Then when you click the links of contents of the type "MyStructure", their full content view will be displayed in the /my-structure page you defined as display page.

Regards