Skip to main content

Popup announcements for Mezzanine websites utilizing Bootstrap modals.

Project description

# 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)

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-modal-announcements-1.1.3.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file mezzanine-modal-announcements-1.1.3.tar.gz.

File metadata

File hashes

Hashes for mezzanine-modal-announcements-1.1.3.tar.gz
Algorithm Hash digest
SHA256 ad69df22f8971f1da427642935a4ffc0cbeebb87514e0c7121f752d6fbb39a61
MD5 7941610701ffe99d347f56a82e3adb2f
BLAKE2b-256 7b08f759046f777875284dc9fad063b74bc4e9f3a7fd1d5cb9c8394cd390f6a9

See more details on using hashes here.

Supported by

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