Skip to main content

Toolbar for Plone

Project description

plone.app.toolbar installs a new content editing toolbar for Plone.

Current status

Current focus of plone.app.toolbar is to get interfaces of Content editors into overlays. This excludes all pages in Site Setup.

There are 2 form widgets which haven’t yet been made functional in plone.app.toolbar:

  • Related Items widget.

  • Search filter widget in Collection content type.

Other then that things should be working, if they don’t please report them to issue tracker.

Installation

To install toolbar drop following lines to your buildout.cfg:

[buildout]
extends = http://dist.plone.org/release/4.3rc1/versions.cfg
versions = versions
parts = instance

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 7000
eggs =
    Pillow
    Plone
    plone.app.widgets[archetypes]
    plone.app.toolbar
zcml =
    plone.app.toolbar

[versions]
plone.app.jquery = 1.8.3
plone.app.widgets = 0.2
plone.app.toolbar = 1.2

Bellow version pins are for Plone version 4.3rc1 or higher.

Make sure you install the “Plone Toolbar” profile when creating your Plone site or include plone.app.toolbar:default profile in your metadata.xml..

To start developing plone.app.toolbar you can find buildout at buildout.deco repository.:

https://github.com/plone/buildout.deco/blob/master/toolbar.cfg

Diazo rules

First we need to copy toolbar’s html code:

<append theme="/html/body"
    content="//div[@data-iframe='plone-toolbar']" />

Then in case we are not copying all resources from Plone (content) to theme we have to include resources as well:

<append theme="/html/head">
    <link rel="stylesheet" type="text/css"
        href="++resource++plone.app.toolbar_init.css"/>
    <script type="text/javascript"
        src="++resource++plone.app.toolbar_init.js"></script>
</append>

Above 2 rules should be enough so that your theme will support plone.app.toolbar.

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

plone.app.toolbar-1.2.tar.gz (164.3 kB view details)

Uploaded Source

File details

Details for the file plone.app.toolbar-1.2.tar.gz.

File metadata

File hashes

Hashes for plone.app.toolbar-1.2.tar.gz
Algorithm Hash digest
SHA256 d39030c407a2104432fb45d3670ccb80ad68293e108e9ea6f3ccf3b701500e9c
MD5 b5cf2b124f268b5a14d61cace70df663
BLAKE2b-256 3ee795d01d4c9a14cccf951d45e110c453880a72b4d03e0ee5eecbc5a2818637

See more details on using hashes here.

Supported by

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