Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29998

As a developer, I want to define icons for content types

    XMLWordPrintable

Details

    • [2.5] - Sprint 3
    • 3

    Description

      In order to improve the efficiency of the editors using admin UI, content types icons are very crucial.

      In this first iteration, the plan is to give the developer the ability to add custom icons for existing content types or custom content types.

      Developers will be able to define the icons in the YML file like it's already the case on page builder blocks

      Example:

      ezplatform_contenttype:
          article:
              thumbnail: '/assets/images/customarticle.svg'
          poll:
              thumbnail: '/assets/images/poll.svg'
      

      where article (content type provided by the clean install) and poll (custom content type) are content type identifiers.

      Supported image format will only be svg.

      Fallback

      In case of a custom content type without defined custom icons, then the file icon from admin-ui will be used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: