Skip to main content

A pluggable control panel.

Project description

Project Description

This product is a pluggable control panel.

The idea behind it is the following.

- You want a control panel for your settings.
- You don't want to make new control panels all the time.
- You want all your settings to be in the same control panel
- You want tabs in your control panel.

How to use it

- install medialog.controlpanel (or add it as a dependecy in your product)
- then do the following in your own product

In a py-file ( maybe):


from z3c.form import interfaces
from zope import schema
#from zope.interface import Interface
from zope.interface import alsoProvides
from plone.directives import form
from medialog.controlpanel.interfaces import IMedialogControlpanelSettingsProvider

from zope.i18nmessageid import MessageFactory

_ = MessageFactory('your.product')

class IMyProductSettings(form.Schema):
"""Adds settings to medialog.controlpanel

label=_(u'name of My Settings'),

my_field = schema.TextLine(
title=_(u"label_my_field", default=u"My Field"),
default=u"My description")

alsoProvides(IMyProductSettings, IMedialogControlpanelSettingsProvider)


In your products profile:

Add a registry.xml field with the following content:


<?xml version="1.0"?>

<records interface="my.product.interfaces.IMyProductSettings">
<value key="my_field"></value>

Of course, change MyProduct / my_field to your own names.

Espen Moe-Nilssen [espenmn]

Some of the code is stolen (shamelessly) from Bluedynamics and Nathan van Gheem.

PS: zedr also wanted to be mentioned.

1.0.1 (05.09.2013)

- Initial release

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


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
medialog.controlpanel-1.0.4.tar.gz (14.0 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2014

Supported by

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