A Craft CMS module to display a help guide in the control panel
Guide is built to run on Craft CMS 3.2 and later
- Download a zip archive, rename the
src
folder toguide
and add it to yourmodules/
folder. - Add the contents of the
app.php
file to yourconfig/app.php
(or just copy it there if it does not exist)
return [
'modules' => [
'guide' => [
'class' => \modules\guide\Guide::class
],
],
'bootstrap' => ['guide'],
];
- Add the following to your project's
composer.json
file so that Composer can find your module:
"autoload": {
"psr-4": {
"modules\\guide\\": "modules/guide/"
}
},
- Run the following in your command line
composer dump-autoload
You may configure both the name of the plugin as well as which content type to use as your "Guide" entries in src/config/guide.php
.
NOTE: The section you use must have public URLs disabled. If these are enabled the Guide will not pull this data in and will display an error.