We're going to create each file in the order of the preceding list:
Create
packages/c5book/controllers/dashboard/file_access.php
and put the following content in it:<?php defined('C5_EXECUTE') or die('Access Denied.'); class DashboardFileAccessController extends Controller { public $helpers = array('form', 'html'); public function on_start() { $html = Loader::helper('html'); $this->addHeaderItem($html->css('file.access.css', 'c5book')); $this->addHeaderItem($html->javascript('file.access.js', 'c5book')); } } ?>
Create the single page
packages/c5book/single_pages/dashboard/file_access.php
with the following content:<?php defined('C5_EXECUTE') or die('Access Denied.'); echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper( t('File Access'), t('Manage your site\'s files.'), false, false ); ?> <div class="ccm-pane-body">...