Relatude Help

Where a module stands

CmsModules.StatusOf(name, store) returns a module's state on a database, with a Reason when it is not active:

State Why
Active everything it brings is on
Disabled it is turned off in the CMS settings
Unlicensed the license is known to lack a feature it needs
DependencyInactive a module it depends on is not active
NotInDatabase it does not apply to this database

In the CMS interface, Settings → Modules lists the modules, their state and how far their seed data has come. Settings → Plugins lists every interface plugin and where it comes from. Both read the cms-modules command:

{ "modules": [
    { "name": "events", "state": "active", "version": "1.0.0", "dependsOn": ["venues"],
      "interfacePlugin": "/relatude.cms/api/modules/events/1.0.0/index.js",
      "commands": ["events.upcoming", "events.cancel"], "jobs": ["events.close-past"],
      "settings": [{ "fileKey": "events", "title": "Events", "scope": "database" }],
      "seedSteps": 2, "seedVersion": 2 }
  ],
  "interfacePlugins": [
    { "name": "site-tools", "url": "/cms-plugins/site-tools.js", "enabled": true }
  ] }