Skip to main content

Shows a global message on every site.

Project description

Introduction

With ftw.globalstatusmessage a Plone site administrator display messages on all pages.

This is useful for inform the users about an upcoming maintance downtime or any other important thing.

The message can be changed in the plone control panel:

https://raw.githubusercontent.com/4teamwork/ftw.globalstatusmessage/master/docs/screenshot.png

Exclude sites

With the Exclude sites option it is possible to show the global status message only for certain sub sites. All containers providing the interface INavigationRoot are considered sub sites. Make sure that the object_provides catalog index is up to date after enabling the interface for a container.

When having nested sub sites, the nearest parent sub site relative to the current context is relevant. If the nearest sub site is not excluded but a parent is excluded, the message is shown on the current context.

Compatibility

Plone 4.1

https://jenkins.4teamwork.ch/job/ftw.globalstatusmessage-master-test-plone-4.1.x.cfg/badge/icon

Plone 4.2

https://jenkins.4teamwork.ch/job/ftw.globalstatusmessage-master-test-plone-4.2.x.cfg/badge/icon

Plone 4.3

https://jenkins.4teamwork.ch/job/ftw.globalstatusmessage-master-test-plone-4.3.x.cfg/badge/icon

Installation

  • Add ftw.globalstatusmessage to your buildout configuration:

[instance]
eggs +=
    ftw.globalstatusmessage
  • Install the generic import profile.

Uninstall

This package provides an uninstall Generic Setup profile. Uninstall the package by using Plone’s addon controlpanel or portal_quickInstaller.

Changelog

1.4.3 (2016-12-02)

  • Fix class assertion on DOM-Element. [raphael-s]

1.4.2 (2016-10-31)

  • Chameleon support: fix status message class. [jone]

1.4.1 (2015-05-06)

  • Add Finnish translations. [petri]

1.4.0 (2014-06-02)

  • Add option to exclude subsites from displaying the status message. [jone]

  • Brazilian Portuguese and Spanish translations were updated. [hvelarde]

  • Configlet was migrated to plone.app.registry (closes #13). [hvelarde]

1.3.0 (2014-05-14)

  • Brazilian Portuguese and Spanish translations were added. [hvelarde]

  • Implement uninstall profile. [jone]

  • Remove no longer used utility. [jone]

  • Protect statusmessage viewlet with browserlayer. The viewlet should not be rendered when the package is not installed. [jone]

  • Replace old PloneTestCase tests with p.a.testing tests. [jone]

  • Remove z3c.autoinclude includeDependencies, no longer required. [jone]

1.2 (2013-06-21)

  • Use own permission to manage globalstatusmessages. [Julian Infanger]

  • Drop Plone 4.0 support. [jone]

1.1 (2012-05-21)

  • Make Plone 4.1.x compatible. [mathias.leimgruber]

  • Prepare for public release. [mathias.leimgruber]

1.0 (2011-04-12)

  • Fix egg structure / added readme [mathias.leimgruber]

  • Initial release [ttschanz]

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

ftw.globalstatusmessage-1.4.3.tar.gz (71.9 kB view details)

Uploaded Source

File details

Details for the file ftw.globalstatusmessage-1.4.3.tar.gz.

File metadata

File hashes

Hashes for ftw.globalstatusmessage-1.4.3.tar.gz
Algorithm Hash digest
SHA256 663ed923fcf6b30a636080681595c5240d49b6b94ae65d554f639e449be3a598
MD5 f0b9b4df6c5caa11f1d2230d20f9bbba
BLAKE2b-256 f75db38f15e1501a0a39825719290e13b5d13a553949d88de125ce10f211a468

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