Django CMS Carousel

242 views
Skip to first unread message

Maurício Mendes

unread,
Apr 6, 2020, 4:24:48 PM4/6/20
to django CMS users

I am learning/developing my company website. and I really don't know how to add the correct plug-ins on this Carousel that I have and also integrate with all the translations.


But static code bellow works fine, but I would like to convert that to the django-cms plugin format. Anyone have any hints to where to start?


<header>
   
<div class="container-fluid">
       
<div class="slider-container">
           
<div class="owl-slider owl-carousel">
               
<div class="item">
                   
<div class="owl-slider-item">
                       
<img src="{% static 'home/images/slide-1.png' %}" class="img-responsive" alt="portfolio">
                       
<div class="intro-text">
                           
<div class="intro-lead-in">Text1 Lead</div>
                           
<div class="intro-heading">Text1 Heading</div>
                       
</div>
                   
</div>
               
</div>
               
<div class="item">
                   
<div class="owl-slider-item">
                       
<img src="{% static 'home/images/slide-2.png' %}" class="img-responsive" alt="portfolio">
                       
<div class="intro-text">
                           
<div class="intro-lead-in">Text2 Lead</div>
                           
<div class="intro-heading">Text2 Heading</div>
                       
</div>
                   
</div>
               
</div>
               
<div class="item">
                   
<div class="owl-slider-item">
                       
<img src="{% static 'home/images/slide-3.png' %}" class="img-responsive" alt="portfolio">
                       
<div class="intro-text">
                           
<div class="intro-lead-in">Text3 Lead</div>
                           
<div class="intro-heading">Text3 Heading</div>
                       
</div>
                   
</div>
               
</div>
           
</div>
       
</div>
   
</div>
</header>


I also posted on stackoverflow

https://stackoverflow.com/questions/61049651/django-cms-carousel


Many thanks,
MM

Bernard Massot

unread,
Apr 7, 2020, 10:23:41 AM4/7/20
to djang...@googlegroups.com

Hi Maurício,

Le 06/04/2020 à 22:24, Maurício Mendes a écrit :
I am learning/developing my company website. and I really don't know how to add the correct plug-ins on this Carousel that I have and also integrate with all the translations.

I find the official doc about plugin creation quite good.

However there's already django CMS Bootstrap 4 which has a carousel plugin based on Bootstrap's carousel. You could use it or find ideas on how to implement Owl Carousel as a django CMS plugin.

-- 
Bernard Massot

Mauricio Mendes

unread,
Apr 7, 2020, 10:27:54 PM4/7/20
to djang...@googlegroups.com
Hello Thanks! It helped a lot.

Stay Safe,
MM

--
You received this message because you are subscribed to the Google Groups "django CMS users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-cms+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-cms/2b79b0e6-71f1-8d01-7971-c6553c365a1c%40u-psud.fr.
Reply all
Reply to author
Forward
0 new messages