Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

adds docs about style customisation

  • Loading branch information...
1 parent c5a9f37 commit 33e99abb07470397cea56b409257e024011f5ebb @stefanfoulis committed
Showing with 20 additions and 0 deletions.
  1. +20 −0 README.rst
20 README.rst
@@ -67,3 +67,23 @@ Add this setting to enable it::
This allows dragging images into the text editor in Firefox and newer versions of IE.
+Most plugins (file, folder, image and teaser) support configuring custom "styles" (templates).
+e.g add the following settings for the image plugin::
+ ('default', 'Default'),
+ ('boxed', 'Boxed'),
+ )
+Now, if a template exists at ``cmsplugin_filer_image/plugins/image/boxed.html`` it will be used. If not, it will fall
+back to ``cmsplugin_filer_image/plugins/image/default.html``. If a css class in the default template is enough, it can
+be used in the template as ``{{ }}``.
+For backwards compatibility the plugin will always use ``cmsplugin_filer_image/image.html`` if it exists. Remove that
+template after migrating to the new structure.

0 comments on commit 33e99ab

Please sign in to comment.
Something went wrong with that request. Please try again.