Navigation

Allows you to upload a file. A filetype icon will be assigned based on the file
extension.

For installation be sure you have the following in the INSTALLED_APPS
setting in your project’s settings.py file:

INSTALLED_APPS=(# ...'cms.plugins.file',# ...)

You should take care that the directory defined by the configuration setting
CMS_PAGE_MEDIA_PATH (by default cms_page_media/ relative to
MEDIA_ROOT) is writable by the user under which django will be
running.

In this template the picture is scaled differently based on which placeholder
it was placed in.

You should take care that the directory defined by the configuration setting
CMS_PAGE_MEDIA_PATH (by default cms_page_media/ relative to
MEDIA_ROOT) is writable by the user under which django will be
running.

Note

In order to improve clarity, some Picture fields have been omitted in
the example template code.

Note

For more advanced use cases where you would like to upload your media
to a central location, consider using django-filer with
django CMS plugin and its cmsplugin_filer_image component
instead.

Renders an HTML snippet from an HTML file in your templates directories or a
snippet given via direct input.

For installation be sure you have the following in the INSTALLED_APPS
setting in your project’s settings.py file:

INSTALLED_APPS=(# ...'cms.plugins.snippet',# ...)

Note

This plugin should mainly be used during development to quickly test
HTML snippets.

Warning

This plugin is a potential security hazard, since it allows admins to place
custom JavaScript on pages. This may allow administrators with the right to
add snippets to elevate their privileges to superusers. This plugin should
only be used during the initial development phase for rapid prototyping and
should be disabled on production sites.

Displays a teaser box for another page or a URL. A picture and a description
can be added.

For installation be sure you have the following in the INSTALLED_APPS
settings in your project’s settings.py file:

INSTALLED_APPS=(# ...'cms.plugins.teaser',# ...)

You should take care that the directory defined by the configuration setting
CMS_PAGE_MEDIA_PATH (by default cms_page_media/ relative to
MEDIA_ROOT) is writable by the user under which django will be
running.

Note

For more advanced use cases where you would like to upload your media
to a central location, consider using django-filer with
django CMS plugin and its cmsplugin_filer_video component
instead.

Displays text. If plugins are text-enabled they can be placed inside the
text-flow. At this moment the following core plugins are text-enabled:

cms.plugins.link

cms.plugins.picture

cms.plugins.file

cms.plugins.snippet

The current editor is Wymeditor. If you want to
use TinyMce you need to install django-tinymce. If tinymce is in your
INSTALLED_APPS it will be automatically enabled. If you have tinymce
installed but don’t want to use it in the cms put the following in your
settings.py:

CMS_USE_TINYMCE=False

Note

When using django-tinymce, you also need to configure it. See the
django-tinymce docs for more information.

For installation be sure you have the following in your project’s
INSTALLED_APPS setting:

For installation be sure you have the following in your project’s
INSTALLED_APPS setting:

INSTALLED_APPS=(# ...'cms.plugins.video',# ...)

There are some settings you can set in your settings.py to overwrite some
default behavior:

VIDEO_AUTOPLAY ((default: False)

VIDEO_AUTOHIDE (default: False)

VIDEO_FULLSCREEN (default: True)

VIDEO_LOOP (default: False)

VIDEO_AUTOPLAY (default: False)

VIDEO_BG_COLOR (default: "000000")

VIDEO_TEXT_COLOR (default: "FFFFFF")

VIDEO_SEEKBAR_COLOR (default: "13ABEC")

VIDEO_SEEKBARBG_COLOR (default: "333333")

VIDEO_LOADINGBAR_COLOR (default: "828282")

VIDEO_BUTTON_OUT_COLOR (default: "333333")

VIDEO_BUTTON_OVER_COLOR (default: "000000")

VIDEO_BUTTON_HIGHLIGHT_COLOR (default: "FFFFFF")

You should take care that the directory defined by the configuration setting
CMS_PAGE_MEDIA_PATH (by default cms_page_media/ relative to
MEDIA_ROOT) is writable by the user under which django will be
running.

Note

For more advanced use cases where you would like to upload your media
to a central location, consider using django-filer with
django CMS plugin and its cmsplugin_filer_video component
instead.