Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 874 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 874 Bytes

aldryn-icon

Plugin that allows to define Icons in the CMS (works with djangocms-text-ckeditor).

Installation

This plugin requires django CMS 3.0 or higher to be properly installed.

  • In your projects virtualenv_, run pip install -e git+https://github.com/aldryn/aldryn-icon#egg=aldryn-icon.
  • Add aldryn_icon to your INSTALLED_APPS setting.
  • Run manage.py migrate aldryn_icon.

Usage

You can define additional style (template) for icons in your settings.py:

ICON_STYLES = [
    'my-style-1',
]

and also can define icon class names like this:

ICON_NAMES = [
    'my-icon-1',
    'my-icon-2',
]

where as my-icon-1 and my-icon-2 are your CSS class name defined for the icons.

Note

Font-Awesome (http://fortawesome.github.io/Font-Awesome/) is use as default icons styles (300+ icons).