[DOCU-1114] Renderers can be defined with YAML too Created: 17/Aug/17 Updated: 08/Dec/17 Resolved: 08/Dec/17 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Christoph Meier |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Renderers can be defined with YAML too. This is possible since Magnolia 5.4! See Update the docs and show how to configure a renderer. Path to define a renderer is: Also mention that renderers registered the old way via JCR and in the Magnolia core module renderer are in the renderer registry too (which can be checked via Definition app). Also mention that since Magnolia 5.5.6 it is very easy to create a new renderer with YAML inherit. See https://documentation.magnolia-cms.com/display/DOCS56/Renderers |
| Comments |
| Comment by Richard Gange [ 29/Nov/17 ] |
I don't think there are any renderers in the Core Module. They can be found in the Rendering Module. |
| Comment by Christoph Meier [ 30/Nov/17 ] |
|
In the config section of the "Renderer" pages (56, 56), you start with a YAML example which inherits. |
| Comment by Martin Drápela [ 30/Nov/17 ] |
|
Yes, if JCR is still a feasible way to configure sth in this case, I would probably add the "usual" YAML/JCR config box. |
| Comment by Richard Gange [ 04/Dec/17 ] |
|
Ok, I can change it. I thought the idea was to show it can be done in YAML. What do you suggest as an example to be shown? |
| Comment by Christoph Meier [ 04/Dec/17 ] |
|
To keep it "easy" you could define the exactly same thing as we already show via JCR. When comparing both YAML and JCR on this "special" tabs macro ... we typically show an identical config. |
| Comment by Richard Gange [ 04/Dec/17 ] |
|
Edited sections:
|
| Comment by Christoph Meier [ 08/Dec/17 ] |
|
Ok.. |