Modules support and special files meaning

There are 4 supported module type files that emoncms looks for:
All directories below /Modules, like /Modules/mod_name are assumed to be a module and a controler file is accepted to be accesed via a URL like http://emonhost/mod_name.

  1. Controler modules:
    See: core.php

  2. Menu entries:
    See: core.php

  3. Process list modules:
    See: Modules/process/process_model.php

  4. Widgets from the dashboard module.
    /Modules/[module_name]/widget/[widget_name]/[widget_name].js or php files
    See: Modules/dashboard/Views/loadwidgets.php

1 Like