HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/subdomains/xibo/custom/README.md
# Custom Modules
This folder is provided as a reasonable place to copy/develop custom modules. This folder is auto-loaded based on the 
`Xibo\Custom` namespace.

This folder is also monitored by the Modules Page for `.json` files describing modules available to be installed, the 
structure of such a file is:

``` json
{
  "title": "Module Title",
  "author": "Module Author",
  "description": "Module Description",
  "name": "code-name",
  "class": "Xibo\\Custom\\ClassName"
}
```

The module class must `extend Xibo\Widget\ModuleWidget` and implement the installOrUpdate method.

We recommend that modules put their Twig Views in a sub-folder of this one, named as their module name. This should be
set in `installOrUpdate` like `$module->viewPath = '../custom/{name}';`.


## Web Accessible Resources
All web accessible resources must placed in the `/web/modules` folder and be installed to the library in `installFiles`.


# Theme Views
This location can also be used for theme views - we recommend a sub-folder for each theme. The theme `config.php` file
should set its `view_path` to `PROJECT_ROOT . '/custom/folder-name`.