掲示板

Extending Message Board portlet

12年前 に Nico M によって更新されました。

Extending Message Board portlet

New Member 投稿: 5 参加年月日: 11/10/06 最新の投稿
Hello,

I am looking for advice on how to extend the existing message board portlet in Liferay by adding more functionality. I've been Googling, reading up on the documentation as well as studying the source code but I still can't figure out quite how I should approach this (or perhaps: what is the best approach).

An example of the types of added functionality I would like to implement, is to include some ranking functionality to the individual MB posts, in addition to the existing user ratings. With such an extension, would it be best to add a completely new service, or should I try to extend or even override existing MB-classes?

A related question is also wether I should I develop a Hook or an ext-plugin for this kind of extension?
Obviously, if I were to override existing source I have to go for ext-plugin, but in my mind this would not be a good idea. Especially since I do not want to change existing functionality, just add new. So my question here is if it is possible to add new services to a Hook, and use them in conjuction with the original MB-classes (for instance MBMessage, MBStatsUser, etc.), or does this also need to be implemented as an Ext-plugin.

I am obviously still quite the newbie so any advice would be greatly appreciated! emoticon
12年前 に Nico M によって更新されました。

RE: Extending Message Board portlet

New Member 投稿: 5 参加年月日: 11/10/06 最新の投稿
Still need advice here, anyone? emoticon
thumbnail
10年前 に ritresh girdhar によって更新されました。

RE: Extending Message Board portlet

Junior Member 投稿: 67 参加年月日: 11/07/15 最新の投稿
Have anyone tried this?. I also want to implement the same. Please share ,if some one successfully implemented the same.
thumbnail
10年前 に Mika Koivisto によって更新されました。

RE: Extending Message Board portlet

Liferay Legend 投稿: 1519 参加年月日: 06/08/07 最新の投稿
I've extended the MB portlet with a hook. Here's one example.