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

Content view parameters are not supported by content view brought by the skin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • None
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      Since CMS-11287 a skin can add its own view for a content type.

      This view is not a model view. It is a "virtual" view that is attached to a model view.

      To get view parameters, only model view's are browsed.

      It will be usefull that parameters could be defined in the file defining the skin view such as:

      <content-type>
          <label i18n="true">SKIN_VIDEO_VIEW_MEDIA</label>
          <description i18n="true">SKIN_VIDEO_VIEW_MEDIA_DESC</description>
          <view>abstract</view>
          <icons>
              <glyph>ametysicon-column3</glyph>
              <decorator>decorator-ametysicon-multimedia-command-play</decorator>
          </icons>
          
          <parameters>       
              <parameter name="openMediaOnClick" type="boolean">     
                  <label i18n="false">Ouvrir le média</label>     
                  <description i18n="false">Ouvrir le média au clic</description>     
              </parameter>       
          </parameters>    
      </content-type>
       

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

              Created:
              Updated: