Help with Module Writing Tutorial
Posted: Wed Sep 21, 2016 11:17 am
I'm following the Module Writing Tutorial and have got to the bottom of page 9, by which time I think I should have a working skeleton of a module called 'Holidays'.
"We now have a working module named 'Holidays'. The module can be installed and uninstalled by using the ModuleManager module within the CMSMS admin console."
However I can't see the module showing up anywhere in the CMSMS Module Manager. Am I missing anything? Any help would be welcome.
Following the tutorial, I currently have these files in the modules folder...
Holidays/holidays.module.php
Holidays/method.install.php
Holidays/method.uninstall.php
Holidays/lang/en_US.php
Things I've checked...
- The module files/folders I've created are all owned by and readable by the webserver.
- Double-checked I've copied the code right from the tutorial.
- No errors showing up in Apache error log.
- Restarted Apache.
- Log out and back in as CMSMS admin
- Enabling CMSMS debug mode in config.php doesn't provide any clues.
Running CMSMS 2.1.5 on Turnkey Linux VM (PHP 5.6.24, Apache 2.4.10)
"We now have a working module named 'Holidays'. The module can be installed and uninstalled by using the ModuleManager module within the CMSMS admin console."
However I can't see the module showing up anywhere in the CMSMS Module Manager. Am I missing anything? Any help would be welcome.
Following the tutorial, I currently have these files in the modules folder...
Holidays/holidays.module.php
Holidays/method.install.php
Holidays/method.uninstall.php
Holidays/lang/en_US.php
Things I've checked...
- The module files/folders I've created are all owned by and readable by the webserver.
- Double-checked I've copied the code right from the tutorial.
- No errors showing up in Apache error log.
- Restarted Apache.
- Log out and back in as CMSMS admin
- Enabling CMSMS debug mode in config.php doesn't provide any clues.
Running CMSMS 2.1.5 on Turnkey Linux VM (PHP 5.6.24, Apache 2.4.10)