Skip to main content

Provides sticky badge for demo sites.

Project description

Introduction

This Plone add-on displays configurable badge that you can use on your development, demo and preview instances. It’ll help you and your customers not to confuse your development Plone instances with production sites.

Compatibility

This add-on was tested for Plone 3 and Plone 4.

Installation

  • add the following to your buildout configuration file:

    [buildout]
    ...
    eggs = collective.demositebadge
    ...
    
  • rerun buildout and restart your Zope instance.

  • then install the collective.demositebadge package from within the portal_quickinstaller tool

Usage

After add-on is install you’ll get Demo site badge Plone Control Panel. There simply enable badge and, if you need, customize default badge text.

That is it.

Usually you’ll have custom theme in your Plone Site, thus you may need to add a bit of css magic in order to make demo badge look better under your own circumstances.

Plone 3 Notes

To install and use this add-on on Plone 3 you need to do some extra steps:

  • use plone.app.registry fixed versions set; for this add the following to your buildout configuration file:

    [buildout]
    ...
    extends =
         http://good-py.appspot.com/release/plone.app.registry/1.0b1
    ...
    
    [versions]
    plone.z3cform = 0.6.0
    zope.i18n = 3.6.0
    
    [instance]
    ...
    zcml =
        ...
        plone.app.registry
    
  • and before Activating demo badge addon, you have to make sure ‘Configuration registry’ is activated (installed) in your Add-ons Control Panel

Credits

Authors

Contributors

Changelog

1.0 - March 16, 2013

  • Initial implementation. [Victor Imenkov]

Project details


Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.demositebadge-1.0.tar.gz (16.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page