留言板

Liferay 6.2 CE : How to extend Calendar portlet.

thumbnail
Neha Goyal,修改在8 年前。

Liferay 6.2 CE : How to extend Calendar portlet.

Regular Member 帖子: 121 加入日期: 13-5-14 最近的帖子
Hi Guys,


I am working on Liferay 6.2 and i am trying to extend calndar porltet which is a different plugin portlet which we can not hook(I guess).
Can any one tell or guide me how can i do this.

I would be grateful to you.

Regards:
Neha
thumbnail
Andew Jardine,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Liferay Legend 帖子: 2416 加入日期: 10-12-22 最近的帖子
Hi Neha,

Can you share with us what kind of customization you wish to make? That might narrow some of the suggestions/advice we put out there for you. You migth also find someone else come alogn who has done the same thing already willing to share.
thumbnail
Dominik Marks,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Regular Member 帖子: 149 加入日期: 12-8-29 最近的帖子
Hello Neha,

so you want to extend a custom plugin?

The Liferay Developer's Guide contains an article about how to this with the Plugins SDK: https://www.liferay.com/de/documentation/liferay-portal/6.2/development/-/ai/creating-plugins-to-extend-plugins-liferay-portal-6-2-dev-guide-03-en

Or, if you are using Maven, you are welcome to read my Blog article about how to extend custom plugins using Maven: https://www.liferay.com/de/web/d.marks/blog/-/blogs/creating-plugins-to-extend-plugins-the-maven-way

Regards,
Dominik
thumbnail
Neha Goyal,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Regular Member 帖子: 121 加入日期: 13-5-14 最近的帖子
Andew Jardine:
Hi Neha,

Can you share with us what kind of customization you wish to make? That might narrow some of the suggestions/advice we put out there for you. You migth also find someone else come alogn who has done the same thing already willing to share.


Thanks Andew for this quick reply.
Mainly i need to change JSP file and its bahaviour.

Regards:
Neha
thumbnail
Meera Prince,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Liferay Legend 帖子: 1111 加入日期: 11-2-8 最近的帖子
Hi
If you want customize you can get source code of calender portlet and do changes.

calender source code here

https://github.com/liferay/liferay-plugins/tree/6.2.x/portlets/calendar-portlet

If you don't want customize original one then just create your custom portlet and copy all source files from calender portlet then you can change whatever your requirement.

Here is similar type of requirement

https://www.liferay.com/community/forums/-/message_boards/message/58008689

Regards,
Meera Prince
thumbnail
Neha Goyal,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Regular Member 帖子: 121 加入日期: 13-5-14 最近的帖子
Meera Prince:
Hi
If you want customize you can get source code of calender portlet and do changes.

calender source code here

https://github.com/liferay/liferay-plugins/tree/6.2.x/portlets/calendar-portlet

If you don't want customize original one then just create your custom portlet and copy all source files from calender portlet then you can change whatever your requirement.

Here is similar type of requirement

https://www.liferay.com/community/forums/-/message_boards/message/58008689

Regards,
Meera Prince


Hey Champ,

Thanks for your suggestions.
Actually i am doing the same thing but i am getting lot of errors,showing class not available.How it is possible if i am importing calendar portlet as it is in ide.

Seems hectic,can help in this regard or create a blog to explain steps to do above.That would help me and other a lot.

Best regards:
Neha
thumbnail
David H Nebinger,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Don't listen to Meera, he's simply wrong here again.

Follow the advice from Dominik, you want to do "plugin extending a plugin". This will allow you to override jsps and java classes atomically yet still build a working Calendar plugin.
thumbnail
Meera Prince,修改在8 年前。

RE: Liferay 6.2 CE : How to extend Calendar portlet.

Liferay Legend 帖子: 1111 加入日期: 11-2-8 最近的帖子
Hi
David thank you .

Regards,
Meera Prince