Skip to main content

Making it easier to manage attention grabbing and compelling Bootstrap Carousels and Bootstrap Jumbotrons as banners on home pages

Project description

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

Quick start

  1. Install the app

  2. Add “mezzanine_bsbanners” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'mezzanine_bsbanners',
    )
  3. Add blocks menu item to admin menu (Optional):

    ADMIN_MENU_ORDER = (
        ("Content", (
                "mezzanine_bsbanners.*",
            )
        ),
    )
  1. Run ‘python manage.py syncdb’ to create the database models.

Usage

mezzanine-bsbanners are similar to django-flatblocks.

  1. Include bsbanners_tags in the template:

    {% load ... bsbanners_tags %}
  2. Insert block anywhere in the template:

    {% bsbanner "My Banner" %}
    {% bsbanner {block} %}
    {% bsbanner {block} "my_template.html" %}
    {% bsbanner {block} {template_name} %}

Dependencies

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mezzanine-bsbanners-0.1.2.tar.gz (130.7 kB view details)

Uploaded Source

Built Distribution

mezzanine_bsbanners-0.1.2-py2-none-any.whl (12.7 kB view details)

Uploaded Python 2

File details

Details for the file mezzanine-bsbanners-0.1.2.tar.gz.

File metadata

File hashes

Hashes for mezzanine-bsbanners-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e54c2a5854c355dff0a0e2d59b86ca8dbd2fda38b09e3c5b2b99d04c32bf00e2
MD5 3ae9c3e5aeeee2638551f342201a91cd
BLAKE2b-256 167be39ea86b8b90c61efc7dc9bea39ce92ede5ae65f0f6acd6bae3b7c34f578

See more details on using hashes here.

File details

Details for the file mezzanine_bsbanners-0.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for mezzanine_bsbanners-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 1070b461c9cfe16765981d872702dd2ca2c61d5d781361cc40959cb63c0a0c9a
MD5 328f8b63d94daee092ccdffa028b679e
BLAKE2b-256 116b06e1b62182ad9ef2d5547557d9840303c8879e3ead75b4a4c45c8689e2a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page