In Liferay 6.2 we used to configure Custom User Notification Hander class and User Notification XML file in the custom portlet as in “liferay-portlet.xml” file. To achieve the same in Liferay 7 OSGI module portlet, can anyone guide me where I find it?
Related
I need a simple extension for Liferay web form to enahance file attachment to data flled in a liferay 7 web form.
Also need to sent this file as an attachment with the email to the registered user.
I know how to achieve this functionality in liferay 6.2 but not about liferay 7. I am using liferay 7 GA-5 CE.
Any help appreciated.
You need to create a custom form field type plugin, please find liferay wiki here Creating Form Field Type. and follow below steps,
Change input type to file in soy file path is
src/main/resources/META-INF/resources/your-plugin-type-name.soy
Create a fragment of dynamic.data.list.form.web bundle and override display/view.jsp to accept the file i.e. multipart data.
Override AddRecordMVCActionCommand action command to store the selected file as you required.
Build and deploy all 3 plugins
Hope this will help you.
I have created a portlet in liferay 7. I built and deployed portlet successfully. The portlet is displayed successfully. But when I imported a class of another project into this portlet, the status of the portlet turned into installed rather than active, and the portlet disappears from the sample category. Any idea where might I go wrong? Please help..Thanx in advance..
I am working on liferay 6.2, I created a site but this basic liferay UI is not looking good.
Can anyone tell be how to create a better UI in liferay.
I want to create a more appealing user interface with liferay.
You can create your own custom theme.You can go through liferay theme creation documents.
Also you can get many ready-made themes from liferay marketplace.
If you are using Liferay SDK, Eclipse or Liferay Developer Studio. You can create your own theme and here is the guideline:
https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-a-the-4
I'm new to liferay, trying to create web app using liferay protlets. I'm trying to create a custom login portlet. In html file, using form action method I'm trying to call a jsp file, which is giving error. help me out. can you give suggest some tuts so tat I can learn how to design dynamic liferay protlets and to deploy in the liferay portal server.
You can achive login in liferay by
An AutoLogin hook http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Hook+Plugins#section-Portal+Hook+Plugins-Portal+Properties
Extending authentication pipeline http://www.liferay.com/community/wiki/-/wiki/Main/Developing+a+CAS#section-Developing+a+CAS-Authenticaton+Pipeline
By your custom implementation http://www.liferay.com/it/community/forums/-/message_boards/message/16008439
Extending Liferay itself (by EXT plugin) https://www.liferay.com/community/wiki/-/wiki/Main/Ext+Plugin
I would suggest doing them in the order I specified, as they increase in complexity.
Please do let me know of any specific queries in these.
I'm new to liferay and was wondering if it is possible ( and how ) to create a custom login portlet using Vaadin framework .
thanks
there is 2 ways to do this:
1.in liferay you can override custom jsp pages using hooks, in this overrided jsp page you can include your vaadin portlet address using jsp tags, maybe you should override authenticateByScreenName/authenticateByEmailAddress(...) methods in UserLocalService (you can do this by hooks too)
2.using a struts custom action in liferay, this can be done by hooks too,I think it's better idea