Forums de discussion

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

Csaba Meszaros, modifié il y a 7 années.

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

Junior Member Publications: 42 Date d'inscription: 10/10/13 Publications récentes
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, modifié il y a 3 années.

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

Regular Member Publications: 157 Date d'inscription: 16/03/12 Publications récentes
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