====================
Mezzanine BS Banners
Making it easier to manage attention grabbing Bootstrap Carousels and
compelling Bootstrap Jumbotrons as banners on home pages
Designed to quickly and easily manange attention grabbing Bootstrap carousels
and compelling Bootstrap Jumbotrons as banners with the same ease as ordinary
Mezzanine pages without editing templates.
The following Bootstrap layouts are supported:
- Carousel
- Jumbotron
- Image (using card)
Quick start
-
Install the app
-
Add "mezzanine_bsbanners" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'mezzanine_bsbanners',
)
-
Add blocks menu item to admin menu (Optional)::
ADMIN_MENU_ORDER = (
("Content", (
"mezzanine_bsbanners.*",
)
),
)
-
Run 'python manage.py migrate' to create the database models.
Usage
mezzanine-bsbanners are similar to django-flatblocks.
-
Include bsbanners_tags in the template::
{% load ... bsbanners_tags %}
-
Insert block anywhere in the template::
{% bsbanner "My Banner" %}
{% bsbanner {block} %}
{% bsbanner {block} "my_template.html" %}
{% bsbanner {block} {template_name} %}
Dependencies
Django
_ 2.0Mezzanine
_ 4.xBootstrap
_ 4.x
Support
To report a security issue, please send an email privately to
ahicks@p-o.co.uk
_. This gives us a chance to fix the issue and
create an official release prior to the issue being made
public.
For general questions or comments, please contact ahicks@p-o.co.uk
_.
Project website
_
Communications are expected to conform to the Django Code of Conduct
_.
.. GENERAL LINKS
.. _Bootstrap
: https://getbootstrap.com/
.. _Django
: http://djangoproject.com/
.. _Django Code of Conduct
: https://www.djangoproject.com/conduct/
.. _Python
: https://python.org/
.. _Persistent Objects Ltd
: https://p-o.co.uk/
.. _Project website
: https://p-o.co.uk/tech-articles/mezzanine-bootstrap-banners/
.. _Mezzanine
: http://mezzanine.jupo.org
.. PEOPLE WITH QUOTES
.. _Alan Hicks
: https://p-o.co.uk/
.. _ahicks@p-o.co.uk
: mailto:ahicks@p-o.co.uk?subject=mezzanine-bsbanners+Security+Issue