PHP code example of littlegiant / silverstripe-singlepageadmin
1. Go to this page and download the library: Download littlegiant/silverstripe-singlepageadmin 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/ */
littlegiant / silverstripe-singlepageadmin example snippets
use LittleGiant\SilverStripe\SinglePageAdmin\SinglePageAdmin;
class HomePageAdmin extends SinglePageAdmin
{
private static $menu_title = "Home Page";
private static $tree_class = 'HomePage';
private static $url_segment = "home-page";
}