Hey! Keep up to date with the project through its beta and public launch by following @getsparks.

Guide #1½: Setting Up with Modular Extensions

A popular extension to the CodeIgniter framework is the third-party Modular Extensions system, which allows for HMVC in CodeIgniter. There are some slight differences in the setup process when using Sparks with this system.

These modifications were provided by Sean Downey.

  1. Install sparks via the "Normal Installation" (not the one-liner) in Option 1, or the no-Spark-Manager method (Option 2) on the setup page. Skip the steps involving the installation of MY_Loader.php

  2. Grab the latest version of Modular Extensions at https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src if you don't already have it, and install it.

  3. Copy the contents of this modified Loader class — http://getsparks.org/static/install/mx/Loader.php.txt — into application/third_party/MX/Loader.php

  4. Copy the contents of this modified Modules class — http://getsparks.org/static/install/mx/Modules.php.txt — into application/third_party/MX/Modules.php

You can now continue and install sparks via the instructions on: Guide #2: Installing Sparks