<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>how can I create a Carousel  slider</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119324327" />
  <subtitle>how can I create a Carousel  slider</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119324327</id>
  <updated>2026-04-07T08:23:41Z</updated>
  <dc:date>2026-04-07T08:23:41Z</dc:date>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119641420" />
    <author>
      <name>reza gholipour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119641420</id>
    <updated>2020-07-24T07:58:23Z</updated>
    <published>2020-07-24T07:58:23Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;chinmay abhyankar:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;&amp;lt;div id=&amp;#34;carouselExampleSlidesOnly&amp;#34; class=&amp;#34;carousel slide&amp;#34; data-ride=&amp;#34;carousel&amp;#34;&amp;gt;&lt;br /&gt;    &amp;lt;ul class=&amp;#34;carousel-indicators&amp;#34;&amp;gt;&lt;br /&gt;    &amp;lt;#if Title.getSiblings()?has_content&amp;gt;&lt;br /&gt;    &amp;lt;#list Title.getSiblings() as cur_ContentHeader&amp;gt;&lt;br /&gt;        &amp;lt;li data-target=&amp;#34;#carouselExampleSlidesOnly&amp;#34;&lt;br /&gt;data-slide-to=&amp;#34;${(cur_ContentHeader?counter == 1)?then(0, (cur_ContentHeader?counter - 1))}&amp;#34;&lt;br /&gt;            class=&amp;#34;${(cur_ContentHeader?counter == 1)?then(&amp;#39;active&amp;#39;, &amp;#39;&amp;#39;)}&amp;#34;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;        &amp;lt;/#list&amp;gt;&lt;br /&gt;    &amp;lt;/#if&amp;gt;&lt;br /&gt;    &amp;lt;/ul&amp;gt;&lt;br /&gt;    &amp;lt;div class=&amp;#34;carousel-inner&amp;#34;&amp;gt;    &amp;lt;#if Title.getSiblings()?has_content&amp;gt;&lt;br /&gt;    &amp;lt;#list Title.getSiblings() as cur_ContentHeader&amp;gt;&lt;br /&gt;        &amp;lt;div class=&amp;#34;${(cur_ContentHeader?counter == 1)?then(&amp;#39;active&amp;#39;, &amp;#39;&amp;#39;)}&lt;br /&gt;        carousel-item&amp;#34;&amp;gt;&lt;br /&gt;          &amp;lt;div class=&amp;#34;row&amp;#34;&amp;gt;&lt;br /&gt;            &amp;lt;div class=&amp;#34;col-sm-12&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;#if cur_ContentHeader.TitleImage.getData()?? &amp;amp;&amp;amp; &lt;br /&gt;                cur_ContentHeader.TitleImage.getData() != &amp;#34;&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;div class=&amp;#34;bannerHomepage&amp;#34; &lt;br /&gt;                style=&amp;#34;background-image:url(${cur_ContentHeader.TitleImage.getData()})&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;/div&amp;gt;&lt;br /&gt;                &amp;lt;/#if&amp;gt;&lt;br /&gt;            &amp;lt;/div&amp;gt;&lt;br /&gt;            &lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;        &amp;lt;/#list&amp;gt;&lt;br /&gt;        &amp;lt;/#if&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&amp;lt;script&amp;gt;&amp;lt;/script&amp;gt;Ignore My CSS classes &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;/blockquote&gt;&lt;br /&gt;Thank you for sharing it.&lt;br /&gt;But as I said, I&amp;#39;m so newbie.&lt;br /&gt;Actually I don&amp;#39;t know where I can use that?&lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;&lt;br /&gt; If it&amp;#39;s possible, guide me in more detail.&lt;br /&gt;Thanks in advance.</summary>
    <dc:creator>reza gholipour</dc:creator>
    <dc:date>2020-07-24T07:58:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119641299" />
    <author>
      <name>chinmay abhyankar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119641299</id>
    <updated>2020-07-24T07:21:44Z</updated>
    <published>2020-07-24T07:21:44Z</published>
    <summary type="html">&amp;lt;div id=&amp;#34;carouselExampleSlidesOnly&amp;#34; class=&amp;#34;carousel slide&amp;#34; data-ride=&amp;#34;carousel&amp;#34;&amp;gt;&lt;br /&gt;    &amp;lt;ul class=&amp;#34;carousel-indicators&amp;#34;&amp;gt;&lt;br /&gt;    &amp;lt;#if Title.getSiblings()?has_content&amp;gt;&lt;br /&gt;    &amp;lt;#list Title.getSiblings() as cur_ContentHeader&amp;gt;&lt;br /&gt;        &amp;lt;li data-target=&amp;#34;#carouselExampleSlidesOnly&amp;#34;&lt;br /&gt;data-slide-to=&amp;#34;${(cur_ContentHeader?counter == 1)?then(0, (cur_ContentHeader?counter - 1))}&amp;#34;&lt;br /&gt;            class=&amp;#34;${(cur_ContentHeader?counter == 1)?then(&amp;#39;active&amp;#39;, &amp;#39;&amp;#39;)}&amp;#34;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;        &amp;lt;/#list&amp;gt;&lt;br /&gt;    &amp;lt;/#if&amp;gt;&lt;br /&gt;    &amp;lt;/ul&amp;gt;&lt;br /&gt;    &amp;lt;div class=&amp;#34;carousel-inner&amp;#34;&amp;gt;    &amp;lt;#if Title.getSiblings()?has_content&amp;gt;&lt;br /&gt;    &amp;lt;#list Title.getSiblings() as cur_ContentHeader&amp;gt;&lt;br /&gt;        &amp;lt;div class=&amp;#34;${(cur_ContentHeader?counter == 1)?then(&amp;#39;active&amp;#39;, &amp;#39;&amp;#39;)}&lt;br /&gt;        carousel-item&amp;#34;&amp;gt;&lt;br /&gt;          &amp;lt;div class=&amp;#34;row&amp;#34;&amp;gt;&lt;br /&gt;            &amp;lt;div class=&amp;#34;col-sm-12&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;#if cur_ContentHeader.TitleImage.getData()?? &amp;amp;&amp;amp; &lt;br /&gt;                cur_ContentHeader.TitleImage.getData() != &amp;#34;&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;div class=&amp;#34;bannerHomepage&amp;#34; &lt;br /&gt;                style=&amp;#34;background-image:url(${cur_ContentHeader.TitleImage.getData()})&amp;#34;&amp;gt;&lt;br /&gt;                &amp;lt;/div&amp;gt;&lt;br /&gt;                &amp;lt;/#if&amp;gt;&lt;br /&gt;            &amp;lt;/div&amp;gt;&lt;br /&gt;            &lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;        &amp;lt;/div&amp;gt;&lt;br /&gt;        &amp;lt;/#list&amp;gt;&lt;br /&gt;        &amp;lt;/#if&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&amp;lt;script&amp;gt;&amp;lt;/script&amp;gt;Ignore My CSS classes &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>chinmay abhyankar</dc:creator>
    <dc:date>2020-07-24T07:21:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119624768" />
    <author>
      <name>reza gholipour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119624768</id>
    <updated>2020-07-21T14:53:14Z</updated>
    <published>2020-07-21T14:53:14Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Rob Hazel:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Hi.&lt;br /&gt;If you are using Liferay 7 or above, you can use the following forum post.  It has some nice examples of multi-image carousels using bootstrap 4.  The examples show 4 or 5 images, and either scroll on 1 at a time, or scroll 4 or 5 at a time.  However, if you are on Liferay 6.x, there are also some bootstrap 3 example further done the page.&lt;br /&gt;&lt;a href="https://stackoverflow.com/questions/20007610/bootstrap-carousel-multiple-frames-at-once"&gt;https://stackoverflow.com/questions/20007610/bootstrap-carousel-multiple-frames-at-once&lt;/a&gt;&lt;br /&gt;I used this to create our own multi-image carousel.  Start by creating a simple web content structure and template, and copy the example code into the template. Once you get this working, you can then work on getting the carousel to work with your Liferay data.  The following blog shows you how to do this for simple single-image carousel.&lt;br /&gt;&lt;a href="https://liferay.dev/blogs/-/blogs/liferay-dxp-tutorial-carousel-template"&gt;https://liferay.dev/blogs/-/blogs/liferay-dxp-tutorial-carousel-template&lt;/a&gt;&lt;br /&gt;I hope this helps.&lt;br /&gt;Rob.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Thank you for your guide.&lt;br /&gt;&lt;br /&gt;I am so newbie. If it&amp;#39;s possible, guide me in more amateur.&lt;br /&gt;&lt;br /&gt;I use Liferay 7.3 ga 1&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t find the &amp;#34;aspect ratio&amp;#34; field in web content structure.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://i.imgur.com/KWvafk5.png" /&gt;&lt;br /&gt;how can I use the bootstrap to implement a carousel in my Liferay??</summary>
    <dc:creator>reza gholipour</dc:creator>
    <dc:date>2020-07-21T14:53:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119618649" />
    <author>
      <name>Rob Hazel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119618649</id>
    <updated>2020-07-21T13:54:02Z</updated>
    <published>2020-07-21T13:54:02Z</published>
    <summary type="html">Hi.&lt;br /&gt;If you are using Liferay 7 or above, you can use the following forum post.  It has some nice examples of multi-image carousels using bootstrap 4.  The examples show 4 or 5 images, and either scroll on 1 at a time, or scroll 4 or 5 at a time.  However, if you are on Liferay 6.x, there are also some bootstrap 3 example further done the page.&lt;br /&gt;&lt;a href="https://stackoverflow.com/questions/20007610/bootstrap-carousel-multiple-frames-at-once"&gt;https://stackoverflow.com/questions/20007610/bootstrap-carousel-multiple-frames-at-once&lt;/a&gt;&lt;br /&gt;I used this to create our own multi-image carousel.  Start by creating a simple web content structure and template, and copy the example code into the template. Once you get this working, you can then work on getting the carousel to work with your Liferay data.  The following blog shows you how to do this for simple single-image carousel.&lt;br /&gt;&lt;a href="https://liferay.dev/blogs/-/blogs/liferay-dxp-tutorial-carousel-template"&gt;https://liferay.dev/blogs/-/blogs/liferay-dxp-tutorial-carousel-template&lt;/a&gt;&lt;br /&gt;I hope this helps.&lt;br /&gt;Rob.</summary>
    <dc:creator>Rob Hazel</dc:creator>
    <dc:date>2020-07-21T13:54:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119619344" />
    <author>
      <name>reza gholipour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119619344</id>
    <updated>2020-07-21T12:06:38Z</updated>
    <published>2020-07-21T12:06:38Z</published>
    <summary type="html">Is there any solution?</summary>
    <dc:creator>reza gholipour</dc:creator>
    <dc:date>2020-07-21T12:06:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119332056" />
    <author>
      <name>reza gholipour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119332056</id>
    <updated>2020-06-08T13:12:55Z</updated>
    <published>2020-06-08T13:12:55Z</published>
    <summary type="html">Thanks for your help.&lt;br /&gt;&lt;br /&gt;But this option will show a single image and slide that.&lt;br /&gt;&lt;br /&gt;I want to display 4 of the 8 images and replace the 4 other images instead of 4 old images.&lt;br /&gt;&lt;br /&gt;Sorry for my bad English.</summary>
    <dc:creator>reza gholipour</dc:creator>
    <dc:date>2020-06-08T13:12:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119331575" />
    <author>
      <name>Aastha Saxena</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119331575</id>
    <updated>2020-06-08T08:49:54Z</updated>
    <published>2020-06-08T08:49:54Z</published>
    <summary type="html">You can add your images in  &amp;#34;Media Gallery&amp;#34; widget and then configure your Media Gallery --&amp;gt; Select &amp;#39;Carousel&amp;#39;  in  &lt;em&gt;Display Template&lt;/em&gt; drop-down menu.&lt;br /&gt;You can refer &lt;a href="https://help.liferay.com/hc/en-us/articles/360029132591-Widget-Template-Example"&gt;here&lt;/a&gt;.</summary>
    <dc:creator>Aastha Saxena</dc:creator>
    <dc:date>2020-06-08T08:49:54Z</dc:date>
  </entry>
  <entry>
    <title>how can I create a Carousel  slider</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119324326" />
    <author>
      <name>reza gholipour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119324326</id>
    <updated>2020-06-05T13:59:28Z</updated>
    <published>2020-06-05T13:59:28Z</published>
    <summary type="html">HiI want to create a Carousel slider with multiple images.Is there any widget for this?</summary>
    <dc:creator>reza gholipour</dc:creator>
    <dc:date>2020-06-05T13:59:28Z</dc:date>
  </entry>
</feed>
