Content Type apps in UI 6?

159 views
Skip to first unread message

Niclas Horstad

unread,
Nov 26, 2020, 3:46:15 AM11/26/20
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,
Nov 26, 2020, 4:52:02 AM11/26/20
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,
Dec 10, 2020, 9:20:39 AM12/10/20
to Magnolia User Mailing List, bartosz...@magnolia-cms.com
Thank you Bartosz!
Reply all
Reply to author
Forward
0 new messages