Message Boards

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

Csaba Meszaros, modified 7 Years ago.

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

Junior Member Posts: 42 Join Date: 10/10/13 Recent Posts
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, modified 3 Years ago.

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

Regular Member Posts: 157 Join Date: 3/16/12 Recent Posts
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