[DOCU-2696] Old mtk:components in Magnolia CLI walkthrough example Created: 06/Apr/23 Updated: 13/Apr/23 Resolved: 13/Apr/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Martin Haderka | Assignee: | Martin DrĂ¡pela |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Documentation page URL: | https://docs.magnolia-cms.com/magnolia-cli/4.x/Magnolia-CLI-walkthrough/index.html |
| Description |
DescriptionIn Magnolia CLI / Magnolia CLI walkthrough there is an example which uses old mtk :components which isn't available in the current version of MGNL. The mtk:components/image and mtk:components/linkList occurs in Magnolia CLI walkthrough in The commands and yaml example should be rewritten to use mtk2 as shown in Templates in MTK docu page. ActualIn Part II - Creating a light module/Add availability for some pre-existing components section: mgnl add-availability mtk:components/image pages/bucket-list@main and mgnl add-availability mtk:components/linkList pages/bucket-list@main Screenshot: In Part III - Reusing a light module from npm/Get a Google Maps API Key section: title: bucket-list templateScript: /bucket-list-module/templates/pages/bucket-list.ftl renderType: freemarker dialog: bucket-list-module:pages/bucket-list visible: true areas: main: availableComponents: activity: id: bucket-list-module:components/activity image:walkthrough/ id: mtk:components/image linkList: id: mtk:components/linkList google-maps: id: google-maps-magnolia:components/google-maps Screenshot: Exceptedmgnl add-availability mtk2:components/image pages/bucket-list@main and mgnl add-availability mtk2:components/linkList pages/bucket-list@main In Part III - Reusing a light module from npm/Get a Google Maps API Key section: title: bucket-list templateScript: /bucket-list-module/templates/pages/bucket-list.ftl renderType: freemarker dialog: bucket-list-module:pages/bucket-list visible: true areas: main: availableComponents: activity: id: bucket-list-module:components/activity image:walkthrough/ id: mtk2:components/image linkList: id: mtk2:components/linkList google-maps: id: google-maps-magnolia:components/google-maps NoteThe MTK2 was introduced with 6.2.10 version, and demo-webapp comes with MTK2 only. See Release Notes |