Skip to content

collective/collective.pantry

Repository files navigation

image

collective.pantry

The main objective of this product is to make it easy for integrators to enable TinyMCE templates (user addable HTML snippets) in your RichText fields and tiles. These HTML snippets can be added using two approaches. You can define theme defined snippets, idealy defined by the themer or designer. In addition, you can also enable the users to be able to define their own HTML snippets using the content type provided.

The snippets are available from the template button on TinyMCE, ready to be used.

It also enables the "Pantry". It's a summary view of Plone style elements along with the theme and user snippets. It's an update of the good old test_rendering view. You can fing the Pantry at the pantry view.

Theme Snippets

They are defined as HTML files in a directory called pantry. The format is plain HTML. At a later point, you can also override them or add more theme snippets if you customize the theme using the Plone Theme editor.

User Snippets

This product makes available a content type called snippet. Each snippet is a page-like object that defines a single snippet. They are meant to be user-defined. As any other content type, you can give the users permissions over them, or disable them completely, depending on your use case.

Installation

Install collective.pantry by adding it to your buildout:

[buildout]

...

eggs =
    collective.pantry

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

About

No description, website, or topics provided.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

No packages published