Embed a comment list and comment form anywhere. Uses the standard django.contrib.comments application.
Simple contact form for FeinCMS. The default form class has name, email, subject and content fields, content being the only one which is not required. You can provide your own comment form by passing an additional form=YourClass argument to the create_content_type call.
Simple file inclusion content: You should probably use the media library instead.
Simple image inclusion content: You should probably use the media library instead.
Create an ImageContent like this:
Cls.create_content_type(
ImageContent,
POSITION_CHOICES=(
('left', 'Float to left'),
('right', 'Float to right'),
('block', 'Block'),
),
FORMAT_CHOICES=(
('noop', 'Do not resize'),
('cropscale:100x100', 'Square Thumbnail'),
('cropscale:200x450', 'Medium Portait'),
('thumbnail:1000x1000', 'Large'),
))
Note that FORMAT_CHOICES is optional. The part before the colon
corresponds to the template filters in the ``feincms_thumbnail``
template filter library. Known values are ``cropscale`` and
``thumbnail``. Everything else (such as ``noop``) is ignored.
Content type which can be used to input raw HTML code into the CMS.
The content isn’t escaped and can be used to insert CSS or JS snippets too.
Content to edit and display HTML tables in the CMS.
The standard rich text editor configuration in FeinCMS does not activate the table plugin. This content type can be used to edit and display nicely formatted HTML tables. It is easy to specify your own table renderers.
Table formatter which should convert a structure of nested lists into a suitable HTML table representation.
TitleTableFormatter(first_row_title=True, first_column_title=True)
This content type scans all template folders for files in the content/template/ folder and lets the website administrator select any template from a set of provided choices.
The templates aren’t restricted in any way.
Copy-paste a URL to youtube or vimeo into the text box, this content type will automatically generate the necessary embed code.
Other portals aren’t supported currently, but would be easy to add if anyone would take up the baton.
You should probably use feincms-oembed.
Get a context dict for a given video URL
Extend this if you need more variables passed to template
Extend/override this if you want to modify the templates used