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

Improve zone attributes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.3, 4.4.0
    • None
    • None
    • None
    • 4.4 M2

      • add a data-ametys-zone attribute on zone with zone's name
      • allow to add others attributes on zones using <body>

      For example:

      <zone name="right" level="1">
               <body data-ametys-mobile-tab="true" data-ametys-mobile-tab-text="Title"/>
      </zone>
      

      this should generated

      <div id="ametys-cms-zone-right" data-zone-name="right" data-ametys-mobile-tab="true" data-ametys-mobile-tab-text="Title">
      </div>
      

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

              Created:
              Updated:
              Resolved: