Content Type apps in UI 6?

136 views
Skip to the first unread message

Niclas Horstad

unread,
26 Nov 2020, 09:46:1526/11/2020
to Magnolia User Mailing List
Hi guys

In Magnolia UI 5, creating apps for editing custom Content Types was super easy:

!content-type:customContentType
name: customContentType-app

This is still possible in Magnolia 6.2.3 using the m5 suffix:
!content-type-m5: customContentType

However, for the sake of future proofing my Magnolia setup, what would be the "UI 6 way" of describing basic Content Type apps in YAML?

Does anyone have a template?

Best regards
Niclas Horstad

Bartosz Staryga

unread,
26 Nov 2020, 10:52:0226/11/2020
to Magnolia User Mailing List
Hey Niclas,

To ask Magnolia to create app UI 6 way is no other then simply:
!content-type:<content type name>
name: <app-name>

Just be wary that the structure of the app created in a new way is a bit different then the old one, hence if you wanna decorate sub apps (browser, detail) check Definitions app to see what would be correct structure of YAML.
You can find some examples here:
https://git.magnolia-cms.com/users/ukusergroup/repos/mug-3-20190829/browse/lightmodules/mug-uk-headless-examples-light-module/apps

Cheers,
Bartosz



--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/44c9c1c3-3725-4a7d-b505-a338ead5dbcan%40magnolia-cms.com.


--
Best regards,

Bartosz Staryga / Front End Developer 
bartosz...@magnolia-cms.com 

Magnolia 
Oslo-Strasse 2, 4142 Münchenstein (Basel), Switzerland
Office: +41 61 228 90 00 www.magnolia-cms.com
 
 

Niclas Horstad

unread,
10 Dec 2020, 15:20:3910/12/2020
to Magnolia User Mailing List, bartosz...@magnolia-cms.com
Thank you Bartosz!
Reply to all
Reply to the author
Forward
0 new messages