You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Could be based off of this: Code Snippets and https://documentation.magnolia-cms.com/display/DOCS56/Developing+a+custom+content+editor+app

  1. 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:

    <dependency>
      <groupId>org.freemarker</groupId>
      <artifactId>freemarker</artifactId>
      <version>2.3.27-incubating</version>
    </dependency>
  2. Now we need a content app for managing something, call them 'offers'.  You could do like what we did yesterday: use the Groovy App to create a content app, download that definition to YAML, then put it in the 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.

  3. yz 

  • No labels