ftw.htmlblock

A block rendering unescaped HTML to be used on a content page powered by ftw.simplelayout


Keywords
ftw, plone, html, block
License
GPL-2.0
Install
pip install ftw.htmlblock==1.1.3

Documentation

Introduction

This package is an addon for ftw.simplelayout. Please make sure you already installed ftw.simplelayout on your plone site before installing this addon.

HTML blocks allow you to add arbitrary, unfiltered HTML to a content page.

The HTML is not escaped when rendered on the content page so you need to be especially careful what you do. By default only users having the role "Manager" are allowed to add HTML blocks.

Installation

  • Add the package to your buildout configuration:
[instance]
eggs +=
    ...
    ftw.htmlblock

Usage

Drag a HTML block form the toolbox into your page and fill the textarea.

Development

Python:

  1. Fork this repo
  2. Clone your fork
  3. Shell: ln -s development.cfg buildout.cfg
  4. Shell: python boostrap.py
  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Links

Copyright

This package is copyright by 4teamwork.

ftw.htmlblock is licensed under GNU General Public License, version 2.