Socket
Socket
Sign inDemoInstall

mezzanine-bsbanners

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mezzanine-bsbanners

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


Maintainers
1

==================== 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

  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

  • Django_ 2.0
  • Mezzanine_ 4.x
  • Bootstrap_ 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc