Versions Compared

Key

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

...

Import the following configuration as you can see, we slightly modified certain fields of a "standard" content app.

Image RemovedImage Added

Adding categorization

Categorization was added in the same way as for 4.5:

Image RemovedImage Added

Basically you add a tab and extend /modules/categorization/dialogs/generic/tabCategorization.

...

This is done by adding the following:

Image RemovedImage Added

Or link to the asset will be stored under the image node, to retrieve it in our page, we can use the DAMTemplating API, we can use it as follows:

...

We duplicate the activation action we can find in the Pages app and add it under the actions, add the corresponding activate action in the actionbar.

Image RemovedImage Added

As you can see we only allowed superuser to activate content, this is because we would like to add a sort of activation authorization command or a basic approval workflow.

...