フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Ákos Gábriel
Web content display with filter
2013/03/13 9:48
答え

Ákos Gábriel

ランク: Junior Member

投稿: 33

参加年月日: 2009/10/05

最近の投稿

Hi,

How would you implement a filter functionality based on content structure for Web content display?
Let's say I have 3 structures and would like to have 3 variants of web content display portlet (looks like inheritance?) which display (in their content list) only those content which have the pre-set structure.
So PortletA displays only structure A content, PortletB structure B etc...

Btw how would you inherit from a built-in portlet? (considering maintainability/upgrades)?

Thanks,
Akos
Hitoshi Ozawa
RE: Web content display with filter
2013/03/14 15:51
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

You can try setting Category or Tag and using Asset Publisher to display your Web Content.
Ákos Gábriel
RE: Web content display with filter
2013/03/14 16:01
答え

Ákos Gábriel

ランク: Junior Member

投稿: 33

参加年月日: 2009/10/05

最近の投稿

Sadly I have more strict requirements. They want 5 different portlets, preconfigured (unchangeable by the user).
So far I was able to replicate JournalArticle portlet into another one, which is now hooked and is filtering the articles according to the hard-coded structure_id.

There is one thing left: the hard-coded value should be replaced with some kind of a property or init-parameter read from a configuration file.
I want to do this in the (hooked) article_search.jsp with PortletProps.get() but it doesn't work yet. Looks like it is missing some .jar files. Can you help with that please?

Akos
Beatriz Sánchez Pérez
RE: Web content display with filter
2013/07/24 4:08
答え

Beatriz Sánchez Pérez

ランク: New Member

投稿: 18

参加年月日: 2011/04/28

最近の投稿

Hi Akos,

I have the same problem. My boss want one portlet in Control Panel for each Struture of Content Web.

Could you help me?

Any help will be welcome.

Thank you for everything