Extend example extension code with more details

This commit is contained in:
the-djmaze 2023-11-27 01:51:23 +01:00
parent 5e2d9c4fb0
commit 7135af995d
6 changed files with 122 additions and 12 deletions

View file

@ -37,6 +37,9 @@ class ExamplePlugin extends \RainLoop\Plugins\AbstractPlugin
$this->UseLangs(true); // start use langs folder
$this->addJs('example.js'); // add js file
$this->addJs('example.js', true); // add js file
// User Settings tab
$this->addJs('js/ExampleUserSettings.js'); // add js file
$this->addJsonHook('JsonGetExampleUserData', 'JsonGetExampleUserData');