Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sawi _
asset publisher - expired article, how to show
December 14, 2012 3:12 AM
Answer

sawi _

Rank: Regular Member

Posts: 148

Join Date: March 27, 2009

Recent Posts

Hi
Is any simple solution to show expired article in assetPublishser?

Regards
sawi
Dhrutika Vyas
RE: asset publisher - expired article, how to show
December 14, 2012 3:29 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

Hi,

You get all articles an then you can check if its status is 3 then only display that article.
Status 3 is set for expired content.

Regards,
Dhrutika
sawi _
RE: asset publisher - expired article, how to show
December 14, 2012 4:53 AM
Answer

sawi _

Rank: Regular Member

Posts: 148

Join Date: March 27, 2009

Recent Posts

In asset publisher if article is expierd is not showing. how to change this?
Dhrutika Vyas
RE: asset publisher - expired article, how to show
December 15, 2012 9:58 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

Hi ,

You need to write your custom code to achieve this. Its not available OOB.

Regards,
Dhrutika
sawi _
RE: asset publisher - expired article, how to show
December 20, 2012 1:44 AM
Answer

sawi _

Rank: Regular Member

Posts: 148

Join Date: March 27, 2009

Recent Posts

Dhrutika Vyas:
Hi ,

You need to write your custom code to achieve this. Its not available OOB.



I must modify asset publisher by hook ext or I should create my own portlet?
Any sugestion how to achive this?

Regards
Alireza Zare
RE: asset publisher - expired article, how to show
December 20, 2012 2:29 AM
Answer

Alireza Zare

Rank: Regular Member

Posts: 110

Join Date: September 3, 2010

Recent Posts

Hi,

I would go for the first approach. Just hook the portlet and retrieve the articles the way you wish.

Regards,
Alireza
Dhrutika Vyas
RE: asset publisher - expired article, how to show
December 20, 2012 5:53 AM
Answer

Dhrutika Vyas

Rank: Expert

Posts: 435

Join Date: February 9, 2009

Recent Posts

Hi,

You should create hook for this. You should not create new portlet or ext as per best practices.

Regards,
Dhrutika
Tiago Augusto Nogueira Coelho
RE: asset publisher - expired article, how to show
December 9, 2013 12:13 PM
Answer

Tiago Augusto Nogueira Coelho

Rank: Junior Member

Posts: 38

Join Date: October 4, 2013

Recent Posts

Hi,

is this behavior difficult to achieve?
Charu Babbar
RE: asset publisher - expired article, how to show
December 10, 2013 11:23 PM
Answer

Charu Babbar

Rank: Regular Member

Posts: 167

Join Date: September 13, 2011

Recent Posts

Hi I also prefer hook ....its easy...