Plugin that allows to define Icons in the CMS (works with djangocms-text-ckeditor).
This plugin requires django CMS
3.0 or higher to be properly installed.
- In your projects
virtualenv
_, runpip install -e git+https://github.com/aldryn/aldryn-icon#egg=aldryn-icon
. - Add
aldryn_icon
to yourINSTALLED_APPS
setting. - Run
manage.py migrate aldryn_icon
.
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.
Font-Awesome (http://fortawesome.github.io/Font-Awesome/) is use as default icons styles (300+ icons).