[MGNLCT-131] DOC: How to render content types content in FTL Created: 03/Jul/19  Updated: 17/Apr/23

Status: Accepted
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Martin DrĂ¡pela
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Story Points: 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".


Generated at Mon Feb 12 00:37:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.