Package: djangocms-owl
djangocms-owlis a reuseable plugin fordjango-cmsthat
implements the JavaScript carousel libraryOwl Carousel. Version 1 of
Owl Carousel is supported.DependenciesDjangocms>=3.0Django>=1.6InstallationInstall Djangocms-owl from Pypi.pipinstalldjangocms-owlAdd Djangocms_owl to INSTALLED_APPSINSTALLED_APPS=(...'djangocms_owl',...)Owl Carouselhas a dependency on JQueryDocsthat is not
currently included within this package. Add a copy will need adding to a
template such as the base.html.<scriptsrc="jquery.min.js"></script>ConfigurationCSS classes can be added to the plugin via a select box by using theDJANGOCMS_OWL_STYLESsettings tuple.DJANGOCMS_OWL_STYLES=(('style1','Style 1'),('style2','Style 2'),)djangocms_owl/default.html is rendered by default. The user can select
custom templates if the following tuple is set as the example below
demonstrates.DJANGOCMS_OWL_TEMPLATES=(('template1','Template 1'),('template2','Template 2'),)Restrict the plugins available to Owl CarouselDJANGOCMS_OWL_CHILD_CLASSES=('PicturePlugin',)Include or exclude static filesDJANGOCMS_OWL_INCLUDE_CSS=TrueDJANGOCMS_OWL_INCLUDE_JS_OWL=TrueDJANGOCMS_OWL_INCLUDE_JS_JQUERY=TrueSet the CMS module name in the available plugin list. The default is Generic.DJANGOCMS_OWL_MODULE=_('Generic')Templatesbase.html includes all the JavaScript and CSS needed to run the carousel, but it does not render the HTML.
Custom templates can extend base.html as long as they define a plugin block containing the html and plugin render code as show in the below example.{% extends 'djangocms_owl/base.html' %}
{% load cms_tags %}

{% block plugin %}<divclass="owl-carousel-plugin plugin{% if style %} {{ style }}{% endif %}"id="plugin-{{ instance.pk }}"><divclass="row"><divclass="small-12 columns"><divclass="slider">{% for plugin in instance.child_plugin_instances %}<divclass="item">{% render_plugin plugin %}</div>{% endfor %}</div></div></div></div>{% endblock plugin %}TodoAdd support for owl carousel 2Expand on the included Owl Carousel configuration optionsCreate abstract base models that can be overriddenInspirationcmsplugin-filerContributionsLee SolwayHistory0.1.10 / 0.1.11BUG Fixes (2016-10-24)0.1.9(2016-10-24)Removed South migrationsUsing the get_render_template method on the pluginBumping min CMS version to 3.2.3 + Django version to 1.8.10.1.8(2016-04-08)Disabled responsive modes by default, to respect the items option. Options can be overridden in the extra field.When 1 option is selected, singleItem is added to opions by default0.1.7(2015-08-06)Migration bugfix0.1.6(2015-08-05)Added a JSON field override to allow for custom optionsAdded support for custom CMS module names0.1.5(2015-07-22)Static files included from bowerIncluded jQueryIncluded v2 of Owl Carousel of later userAdded settings to include/include jquery, owlcarousel.js and owl*.css filesRe-added select_template with Django 1.8 supportSeparated the template to include a base to facilitate custom template creation - e.g. extend base.html0.1.4(2015-07-17)render template bug fix with Django 1.8 (removed select_template)0.1.3(2015-07-06)Critical bug fix0.1.2(2015-07-06)Converted README.md to README.rstAdded AppConfAdded DJANGOCMS_CHILD_CLASSES configuration optionUpdated the initial Django migration dependency to CMS 0001 initial0.1.1(2015-07-05)Documentation updates0.1.0(2015-07-03)First release on PyPI