Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mezzanine-modal-announcements

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mezzanine-modal-announcements

Popup announcements for Mezzanine websites utilizing Bootstrap modals.

  • 1.1.3
  • PyPI
  • Socket score

Maintainers
1

Mezzanine modal announcements

Popup announcements for Mezzanine websites utilizing Bootstrap modals.

Installation

  • $ pip install mezzanine-modal-announcements
  • Add modal_announcements to the project's INSTALLED_APPS
  • Add {% include "includes/announcements.html" %} to the end of base.html, just before the footer scripts.
  • Run migrations python manage.py migrate modal_announcements
  • Run the server
  • Log into the admin and set up some announcements

Configuration

Edit the setting "Announcement frequency" in your site's admin (Site -> Settings) to determine how often (in minutes) a particular user will be shown the announcements. This restriction uses cookies so if the user clears their cookies they will be shown announcements again.

Whether or not announcements show can also be configured based on the following parameters (all optional)

  • Start/end time
  • Start/end date
  • Day of the week (i.e. only show on Tuesdays and Thursdays)

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