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

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page