Installing add-ons for the dash itself

To install an add-on, all you have to do is edit the file "addons.php" in the "require" folder.

The file addons.php should look like this when you just installed Shadow's Dash:

<?php
// If you do not know what you are doing, you can follow the documentation on "how to install add-ons" here: https://dashdocs.shadow-baguet.xyz/addons/installing-add-ons-for-the-dash-itself
#$_ADDONS[] = array("name" => "", "path" => "");

Once your add-on is downloaded, extracted in a directory, and ready to use, you must uncomment line 3. This line is a code snippet to show you how to enable an addon. The file will then be processed, and add the required code of the add-on.

What will this process do?

It will basically call the add-on "init.php" file, which will allow the add-on to add navbar elements, execute backend commands, add new pages...

Last updated

Was this helpful?