An add-on for Plone
Project description
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.
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
Issue Tracker: https://github.com/collective/collective.pantry/issues
Source Code: https://github.com/collective/collective.pantry
Documentation: https://docs.plone.org/foo/bar
Support
If you are having issues, please let us know. We have a mailing list located at: project@example.com
License
The project is licensed under the GPLv2.
Contributors
Victor Fernandez de Alba, sneridagh@gmail.com
Changelog
1.0a1 (unreleased)
Initial release. [sneridagh]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.pantry-1.0a1.tar.gz
.
File metadata
- Download URL: collective.pantry-1.0a1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a750efe31aeb4430fd4da3b443599053751788ab6996b0a4c748a4d880240f8 |
|
MD5 | b828056a2e5d3910e041e3aabc6cc1cd |
|
BLAKE2b-256 | 310572515b9446aa373a2bd5a5107d9dcf2e53a4d7ec75c2877ed55d911b479e |