Skip to main content

django-cms plugins for django-filer

Project description

A set of cms plugins that replace the plugins shipped with django-cms with versions that use file fields from django-filer.

Dependencies

  • django-filer >= 0.9

  • Django >= 1.3

  • django-cms >= 2.2

  • django-sekizai >= 0.4.2

  • easy_thumbnails >= 1.0

Installation

add the plugins to INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'cmsplugin_filer_file',
    'cmsplugin_filer_folder',
    'cmsplugin_filer_image',
    'cmsplugin_filer_teaser',
    'cmsplugin_filer_video',
    ...
)

and then run syncdb or migrate if you’re using South.

You can also set FILER_IMAGE_USE_ICON in your settings.py to configure cmsplugin_filer_image plugin to use 32x32 icons for representing plugin instances.

The default template in cmsplugin_filer_image expects the subject location functionality to be enabled. Follow: http://django-filer.readthedocs.org/en/0.9.2/installation.html#subject-location-aware-cropping

Upgrading

Please note that current develop version moved plugin packages from src directory to project root. This may break your installation if upgrading. Uninstall any previous cmsplugin_filer installation (either from Pypi or from github repository) and reinstall it.

Integrations

djangocms-text-ckeditor

cmsplugin_filer_image provides integration with djangocms-text-ckeditor. Add this setting to enable it:

TEXT_SAVE_IMAGE_FUNCTION='cmsplugin_filer_image.integrations.ckeditor.create_image_plugin'

This allows dragging images into the text editor in Firefox and newer versions of IE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmsplugin-filer-0.9.5.tar.gz (64.1 kB view details)

Uploaded Source

File details

Details for the file cmsplugin-filer-0.9.5.tar.gz.

File metadata

File hashes

Hashes for cmsplugin-filer-0.9.5.tar.gz
Algorithm Hash digest
SHA256 bb8ab2c46da333e8a611ce0cb3a9b0b9e7041c4661330a694de211b39a6965bc
MD5 a2588d4bc4acf7948c11156479a5e8d1
BLAKE2b-256 e13c924d8fc237ac30ec5cd593a377bfb52e0ef9c1d664417c96915babba23eb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page