Skip to main content

A plugin for Wagtail CMS, icon blocks (fontawesome)

Project description

WAGTAIL ICONIFY

Library developed for Wagtail CMS, its purpose is to provide icon blocks from various libraries

Code style: black PyPI - Django Version Status


Wagtail

Special thanks to Alex Gleason, as well as for his wagtail-fontawesome library (V4.7), which helped me many times, as well as to support me in part of his code for the configuration of some things


ACTUAL SUPPORTED ICONS

  • FontAwesome V5.15.4

INSTALATION

  1. // TODO: CREATE PIP PACKAGE MODULE
  2. Add to INSTALLED_APPS in settings/base.py
    INSTALLED_APPS = [
        ... ,
        'wagtailiconify',
        ...
    

USE EXAMPLE

from wagtail.core.models import Page
from wagtail.core.fields import StreamField
from wagtail.admin.edit_handlers import StreamFieldPanel

from wagtailiconify.blocks import FontAwesomeBlock

class HomePage(Page):
    body = StreamField([
        ('icon', FontAwesomeBlock())
    ], null = True, blank = False)

    content_panels = Page.content_panels + [
        StreamFieldPanel('body')
    ]

CONTRIBUTIONS

All support for the library is well accepted, in fact I would appreciate it very much since I am the only one who is giving support

Any questions, comments or suggestions can be made known to me with an "Issue" notification or make a contribution with a pull request.

Any closer attention can write to me at: victorarmenta30@gmail.com

TODO WORK

  • Pip package installation (READY)
  • Remove js empty generated by npm run build
  • Admin icons support (Fontawesome have troubleshoots with Wagtail svg icons )
  • Support for FeatherIcons
  • More docs for developers
  • A niceeeee logo for this little library... Why not?

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

wagtailiconify-0.0.1.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

wagtailiconify-0.0.1-py3-none-any.whl (1.4 MB view hashes)

Uploaded Python 3

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