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

Add a way to limit or add rendering content's views from skin context

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.6.0
    • None
    • None
    • None
    • 4.6 M4

      For now proposed views for rendering have to been the same of model's views

      When a skin need a new rendering view (such as "carousel", "kiosk", ...) for a type of content, we first need to define the view in model in WEB-INF/param/content-types/_override/[contentType].xml.

      Then the new view becomes available for all sites and skins but can have no sens nor rendering for another site/skin.

      When listing the available views in search service configuration, or on content's view gallery, we should filter on available rendering in current skin.

      Moreover, to avoid overriding content types definition, a skin should be able to bring its own rendering view mapped to an existing model view

      For example we could have in a skin a file such as stylesheets/content/news/news-carousel.xml related to stylesheets/content/news/news-carousel.xsl.
      The XML file will contain the label of the view and the mapped model's view

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

              Created:
              Updated:
              Resolved: