PHP code example of firebrandhq / silverstripe-hail-elemental
1. Go to this page and download the library: Download firebrandhq/silverstripe-hail-elemental library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
firebrandhq / silverstripe-hail-elemental example snippets
protected function init()
{
parent::init();
// You can include any CSS or JS
\SilverStripe\View\Requirements::block('firebrand/silverstripe-hail: thirdparty/bootstrap/styles/bootstrap.min.css');
\SilverStripe\View\Requirements::block('firebrand/silverstripe-hail: thirdparty/jquery/js/jquery.min.js');
\SilverStripe\View\Requirements::block('firebrand/silverstripe-hail: thirdparty/bootstrap/js/bootstrap.bundle.min.js');
}