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

  • Image (using card)

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.*",
            )
        ),
    )
  4. Run ‘python manage.py migrate’ 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.2.0.tar.gz (304.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: mezzanine-bsbanners-0.2.0.tar.gz
  • Upload date:
  • Size: 304.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for mezzanine-bsbanners-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7ec6ad5e5552a5f2e704e408d18e8b3a441feb458b1fe3b71e3a986f2ba86850
MD5 3fb192806e0c965044ef7c0771ec36a8
BLAKE2b-256 c296d5fde8927ca6f2ee8226aa25a286e61973feb86107c4bf324de176bede24

See more details on using hashes here.

Supported by

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