Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7859

The glyph to select a content of a page is missing when it is a new type of content

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.0M13
    • 4.0M12
    • None
    • None
    • FF

      How to reproduce :

      • add this joined file into the \web\WEB-INF\param\content-types\web\petitesannonces.xml
      • add this joined folder into the \web\WEB-INF\param\content-types\web\stylesheets\content\

      Then, restart and add this content into a page.
      The glyph appears well in the tool panel but it does not appears in the page. The speudo class :before is not defined.

          [CMS-7859] The glyph to select a content of a page is missing when it is a new type of content

          As you use the glyph of Ametys font, you have to import the CSS for Ametys font in the definition of your content type

          <cms:icons>
               <cms:glyph>ametysicon-list4</cms:glyph>
          </cms:icons>
          <css>
                <file plugin="core-ui">font/ametys/AmetysIcon.css</file>
          </css>
          

          Laurence Aumeunier added a comment - As you use the glyph of Ametys font, you have to import the CSS for Ametys font in the definition of your content type <cms:icons> <cms:glyph> ametysicon-list4 </cms:glyph> </cms:icons> <css> <file plugin= "core-ui" > font/ametys/AmetysIcon.css </file> </css>

            laurence Laurence Aumeunier
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: