掲示板

Customise web form portlet

12年前 に siva prasad によって更新されました。

Customise web form portlet

New Member 投稿: 5 参加年月日: 12/01/06 最新の投稿
Hi All,

How to customise the webform portlet of liferay?????

customise in the sense Adding a new button to upload the document or image........

saving the document in the database......modifying the send button to sent a alert to the given email or phone number etc....

please reply

Thanks
sivaprasad
thumbnail
11年前 に Achmed Tyrannus Albab によって更新されました。

RE: Customise web form portlet

Regular Member 投稿: 158 参加年月日: 10/03/05 最新の投稿
click the cog button and customize it. if that is what you mean.
thumbnail
11年前 に Amit Doshi によって更新されました。

RE: Customise web form portlet

Liferay Master 投稿: 550 参加年月日: 10/12/29 最新の投稿
Directly modify in the source of Web Form Portlet and deploy it.
9年前 に asif aftab によって更新されました。

RE: Customise web form portlet

Regular Member 投稿: 123 参加年月日: 13/09/02 最新の投稿
Amit Doshi:
Directly modify in the source of Web Form Portlet and deploy it.

How to deploy web form portlet.
We are directly modifying the code of web form portlet but unable to deploy it.
After modification changes take place only if we restart server because it is not present as a custom portlet.
Is there any way to deploy web form portlet or we can create .war file from its source or the web form portlet which is present inside our web-apps folder.
This is plugin portlet so we can't override using hook.
I also tried to copy web form portlet from web apps to my newly custom portlet but getting lot of issues.
I hope for the positive response.
Thanks
thumbnail
9年前 に Pankaj Kathiriya によって更新されました。

RE: Customise web form portlet

Liferay Master 投稿: 722 参加年月日: 10/08/05 最新の投稿
There are two ways to achieve it.
1. Get web-form-portlet's source from https://github.com/liferay/liferay-plugins/tree/master/portlets/web-form-portlet and modify code and deploy it.
2. Create portlet(empty) using IDE and paste docroot folder from your liferay's directory tomcat/webapps/web-form-portlet. Then do code changes and deploy the portlet.


Hope this will help.