Today we will discuss how to create carousel in Liferay using Portlet.Before reading it is highly recommended to read my previous blog on Carousel in Liferay using web content.
So lets start this step by step:-
Step 1:-Create Liferay Project and Portlet
Create a Liferay project and than create a MVCPortlet in it. Now we have to save images that can be used in carousel. Create a folder inside docroot with name images and add all the images in it.
Step 2:-Change view.jsp
Open view.jsp and paste this:-
Step 3:-Check output
Deploy your portlet and check add on page.
You can Download Source code from Carousel in Liferay using Portlet.
Hope this will Help....
Related Post:-
No comments:
Post a Comment