Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5150

Don't render cms comments for areas in preview, add JSON mimetype

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 4.5.11, 5.0.3, 5.1
    • 4.5, 5.0
    • rendering, templating
    • None

    Description

      Add JSON support so that Magnolia pages can be used to manage JSON pages. These problem have to be resolved:

      1. Magnolia does not include the application/json mimetype by default.
      2. If page template renders JSON instead of HTML - In the preview mode of the author instance Magnolia always renders HTML comments and these are not valid JSON.
      3. Magnolia themes by default only support JS, CSS and images and not other resources such as JSON files.

      See SUPPORT-2515 for details.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD