留言板

Message board with sms notification

s r,修改在11 年前。

Message board with sms notification

New Member 帖子: 9 加入日期: 13-1-9 最近的帖子
Hi,
we would like to enhance the functionality of the message board with SMS notification.
We have seen that the email notification is handled by SubscriptionSender.notifySubscriber. So we want to override this method to enhance this feature.
Is possible to extend this class with"ext" plugin?

Thanks
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: Message board with sms notification

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
HI,

Definitely you can override any action / service classes through EXT plugin. It gives all control to developers.

- Gnaniyar Zubair
s r,修改在11 年前。

RE: Message board with sms notification

New Member 帖子: 9 加入日期: 13-1-9 最近的帖子
We have made an ext plugin where in docroot/WEB-INF/ext-service/src we put MySubscriptionSender that extend SubscriptionSender and override the method notifySubscriber. But we don't know how inject the new class. We have searched a configuration by spring but we didn't find anything.
So how can we inject the new class?

Thanks
s r,修改在11 年前。

RE: Message board with sms notification

New Member 帖子: 9 加入日期: 13-1-9 最近的帖子
We have resolved with an ext plugin: we have copied the orginal liferay class SubscriptionSender and extend it and override the method. unfortunately there is no hook or spring configuration to do this. It works although it is not very flexible.

Thanks