Foros de discusión

Implement Web Content parameters to display specified article

manh tuan vu, modificado hace 14 años.

Implement Web Content parameters to display specified article

New Member Mensajes: 2 Fecha de incorporación: 25/06/09 Mensajes recientes
If portal page contains several journal content portlets it would be nice to allow dynamically changing content for one of them. But i dont know how to do that, is there anybody has ideas about that ?

For example:
I have a page PAGE1 which has WEB CONTENT portlet inside along with other portlets. By default it displays ARTICLE1.
Inside ARTICLE1 I have a link to ARTICLE2 for example.
If I click this link I want to reload PAGE1 but instead of ARTICLE1 I need to display ARTICLE2. All other portlets should display the same content as previous time.
thumbnail
Jonas Yuan, modificado hace 14 años.

RE: Implement Web Content parameters to display specified article

Liferay Master Mensajes: 993 Fecha de incorporación: 27/04/07 Mensajes recientes
Hi Manh,

You can develop custom Web Content Display portlet which will take article ID or asset ID dynamically.

One example is here

http://relaystage.cignex.com/web/guest/payors

click any link the press release, the Ext Web Content Display will display the article.

How can I build this Ext Web Content Display (Journal Content) portlet?

The chapter 7 - CMS and WCM - of the Liferay Development book will give you details.

Hope that it helps

Thanks

Jonas Yuan

-------------------
Liferay Books
Liferay Portal 5.2/5.3 Systems Development
Liferay Portal 4.4/5.0 Enterprise Intranets