...
We'll be using the FreeMarker directive
continue
, so we need to update the version of FreeMarker that came with Magnolia (2.3.25 - you could find it in your WEB-INF/lib). Add the following to your webapp pom:Expand Code Block <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>2.3.27-incubating</version> </dependency>
Now we need a content app for managing something, call them 'offers'.
You could do like what we did yesterday: use
, download that definition to YAML, then put it in theExpand Use the Groovy App to create a content app
apps
registry of some module, and it should work. I have already done this for you for this case, if you don't want to repeat the work. Even if you do, if something goes wrong, you can instead use this one: offers.yaml.called 'Offers'. (this is just to create the workspace and get us the roles)
Delete
/modules/groovy/apps/offers (you will use my copy instead later)
Delete
/modules/ui-admincentral/config/appLauncherLayout/groups/edit/apps/offers (you will put it somewhere else later)
Log out of Magnolia and log back in (this is for your user environment to pick up the new roles)
Add this: offers.yaml to
light_modules/rewe/apps/ (I've made some useful changes and made sure it has no errors)
Import this configuration: config.modules.ui-admincentral.config.appLauncherLayout.groups.rewe.xml (This will put the app in it's own group)
- Now that you have offers.yaml, put it in the
apps
directory of your 'rewe' light module, from earlier. - Now we'll make a page to display the items from that app:
- yzyz
Page Turner | ||
---|---|---|
|