Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Light modules can contain more or less folders compared to this example.

The magnolia.resources.dir folder - the light modules folder

Please note that a Magnolia Light module must reside within the so called "magnolia resources directory", the directory also often is referred as the Magnolia light modules folder. The name and the location of this directory is are arbitrary - but you have provide the path to the folder via configuration.

...

Creating a light module with Magnolia CLI

...

With Magnolia CLI you can create the complete light module structure with a single command. (If you want to install CLI, see Magnolia CLI - Installation.)

Open a shell, change to you the light modules folder and run the following command:

Code Block