Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Making it easier to manage attention grabbing Bootstrap Carousels and compelling Bootstrap Jumbotrons as banners on home pages
Python Makefile
branch: master

Merge pull request #2 from teknokrat-as/master

fixed bug with resolving template.variable
latest commit 4ce445fa31
@alan-hicks authored
Failed to load latest commit information.
docs Added website link
mezzanine_bsbanners fixed bug with resolving template.variable
.gitignore Initial commit
AUTHORS Project created
CHANGELOG Version bump to 0.1.3
LICENSE Project created
MANIFEST.in Project created
README.rst Project created
setup.py Version 0.1.4

README.rst

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

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.

Something went wrong with that request. Please try again.