Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-1336

Doc for the template variant mechanism

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None

      Requested by jschulte
      On https://documentation.magnolia-cms.com/display/DOCS56/How+to+get+content+as+JSON+-+an+overview#HowtogetcontentasJSON-anoverview-FreeMarkertemplate
      Add the template variant mechanism approach. Namely that you can have multiple freemarker variants: one for html, one for json, etc.
      The benefits are that you get proper preview and you don't need multiple templates.
      See the files from Jan attached.

      Also improve the content about variations on https://documentation.magnolia-cms.com/display/DOCS56/Template+definition

        Acceptance criteria

              Unassigned Unassigned
              jlegendre Julie Legendre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: