Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-131

DOC: How to render content types content in FTL

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • 5

    Description

      Customers are having trouble with how to use the content stored in the content type they have created.
      Information on how to do so should be at least included in these locations:

      At the bottom of https://documentation.magnolia-cms.com/display/DOCS57/Part+II+-+Complex+content+types+and+security+set+up#PartII-Complexcontenttypesandsecuritysetup-Nextsteps

      Maybe at the bottom of:
      https://documentation.magnolia-cms.com/display/DOCS57/Content+type+Model+definition
      Or in the Related topics section.

      Currently, the only place that I could find that describes how to use content from a content app in the webiste is this page:
      https://documentation.magnolia-cms.com/display/DOCS57/Accessing+content+on+the+server+side
      The page is good, but is fairly complex and is part of a bigger tutorial.
      It would be helpful to have a more concise description of how to to accomplish this. Also it should include how to have a page on the website render a specific content item based on a querystring, and how to get "pretty URLs" with URL mapping configurations.

      Here is an example of a simple page template that can render content from a workspace, a full list, or a specific item. However it does not implement the pretty urls:
      https://git.magnolia-cms.com/users/czimmermann/repos/content-types-demos/browse/demo1/light-modules/hotspots/templates/pages/walkingtours.ftl

      I would expect to find this information both with the "Createing a website with Magnolia", and maybe also under "Developing", adjacent to "Accessing congtent on the server side".

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin DrĂ¡pela
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD