jqueryliferayliferay-theme

Liferay Carousel Portal Layout


I'm developing a custom layout for Liferay Portal.

I would like to create something like some plugins used to show images as a carousel, however I would like to show the pages of the portal instead of images.

I create a template with 2 rows and 3 columns. Each page of my portal will be this format.

I create some pages with some portlets and in my main page, I show this pages like a carousel.

Any one knows if there is some plugin for this? Or can give a suggestion of how to build this?

I'm trying to use Slick Plugin to build, but it is not being a easy thing to do.

in a few words, I would like to show pages instead of images in a carousel way


Solution

  • The answer assumes you want to implement a carousel for web content / journal articles (not portal pages) in Liferay 6.2 (or later version).

    Liferay 6.2 introduces the framework for Application Display Templates (ADT). ADTs can be used to customize the presentation of assets in various portlets. For example, you can customize the presentation of journal articles, documents or images in Asset Publisher or Media Gallery portlets. ADTs can be implemented using Freemarker or Velocity engines.

    For images in Media Gallery, there's even a sample carousel template included in Liferay 6.2. See portlet_display_template_carousel.ftl . The template uses Alloy UI Carousel to implement the carousel. The template can be altered easily to implements the carousel for journal articles using your preferred Slick framework.

    I suggest the following: