Hello
I am trying to make a new module.
So i created a new folder where i placed an index.php file in which i integrated these lines before the module core :
defined('mxMainFileLoaded') or die('access denied');
pmxBase::set("plugins",0);
$module_name = basename(__DIR__);
$pagetitle = "Test";
But when i upload the new module folder in the modules folder, even if i refresh the module inactives admin page, the module don't appear.
What i missed ?
Thank you in advance.
There MUST also be a file in the module folder with the name: setup.pmx.php
The content for this can be found as an example in the file: modules\Documents\setup.pmx.php
When creating a module, please adhere to the pmx API and the rules in the documentation:
https://www.pragmamx.org/Documents-Programmers-Guide-Page-PragmaMx-Coding-Standards-Id-9.html
sorry, only in German Language aviable.