留言板
Portlet creation steps
Hello!
I'm reading here at https://dev.liferay.com/ja/develop/tutorials/-/knowledge_base/7-0/liferay-as-a-development-platform, section "Example Liferay Projects". It's explaining but not showing the steps how to create portlets like Menu->New->... etc.
Or am I looking at wrong place?
Did some googling. There it showed to create Portlet by creating "Liferay Module Project"...
Looks like a portlet can be created with blade as well.
Please, clarify on this.
Thanks.
I'm reading here at https://dev.liferay.com/ja/develop/tutorials/-/knowledge_base/7-0/liferay-as-a-development-platform, section "Example Liferay Projects". It's explaining but not showing the steps how to create portlets like Menu->New->... etc.
Or am I looking at wrong place?
Did some googling. There it showed to create Portlet by creating "Liferay Module Project"...
Looks like a portlet can be created with blade as well.
Please, clarify on this.
Thanks.
Hi Askar,
The tutorial after Liferay as a Development Platform shows you how to create a portlet using a module. Modules are the best way to create portlets on 7.0.
Our Tooling tutorials demonstrate using Liferay IDE, build tools, and Liferay Workspace (which can be used in Liferay IDE or from the command line).
Let me know if there's more you're looking for.
Thanks!
Jim
The tutorial after Liferay as a Development Platform shows you how to create a portlet using a module. Modules are the best way to create portlets on 7.0.
Our Tooling tutorials demonstrate using Liferay IDE, build tools, and Liferay Workspace (which can be used in Liferay IDE or from the command line).
Let me know if there's more you're looking for.
Thanks!
Jim
Hey Askar,
yeah, there are two ways to create a portlet.
1. use Liferay IDE
New->Liferay Module Project and choose mvc-portlet as the project template
There is the tutorial link: https://dev.liferay.com/zh/develop/tutorials/-/knowledge_base/7-0/creating-modules-with-liferay-ide
2. use blade cli
There is the command:
blade create -t mvc-portlet -p com.liferay.docs.guestbook -c GuestbookPortlet my-guestbook-project
Also tutorial link:
https://dev.liferay.com/zh/develop/tutorials/-/knowledge_base/7-0/creating-modules-with-blade-cli
Hope u have a good journey with Liferay IDE
yeah, there are two ways to create a portlet.
1. use Liferay IDE
New->Liferay Module Project and choose mvc-portlet as the project template
There is the tutorial link: https://dev.liferay.com/zh/develop/tutorials/-/knowledge_base/7-0/creating-modules-with-liferay-ide
2. use blade cli
There is the command:
blade create -t mvc-portlet -p com.liferay.docs.guestbook -c GuestbookPortlet my-guestbook-project
Also tutorial link:
https://dev.liferay.com/zh/develop/tutorials/-/knowledge_base/7-0/creating-modules-with-blade-cli
Hope u have a good journey with Liferay IDE
Thank you for replies, James and Joye!
In Liferay Developer Studio I also see the option "Menu>New>Liferay Portlet". When is this one used?
Regards.
In Liferay Developer Studio I also see the option "Menu>New>Liferay Portlet". When is this one used?
Regards.