how do i access/edit my PHP files from the dashboard?

Permalink
do i need an add-on?

 
linuxoid replied on at Permalink Reply
linuxoid
You need to create single pages (views and controllers) in the dashboard, e.g.

controller file: application/controllers/single_page/dashboard/test.php
view file: application/single_pages/dashboard/test.php

+ the page itself
$this->installSinglePage('/dashboard/test', t('Test'), $pkg);
    private function installSinglePage($path, $cName, $pkg)
    {
        $page = Page::getByPath($path);
        if (!is_object($page) || $page->isError()) {
            $page = SinglePage::add($path, $pkg);
            $page->update(array(
                'cName' => $cName,
            ));
        }
    }
understory replied on at Permalink Reply
thank you!