Custom Packages

Permalink
I had to reinstall c5 and have been working on a custom theme/package

I put my package in the packages directory and have installed it, however it does not show in dashboard/themes.

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
What is the content of your controller.php file and your page_theme.php file?
ServersAustralia replied on at Permalink Reply
The package was installed correctly and working before I needed to reinstall C5. The package installs correctly but it just cant be seen in the theme to be made active.


<?php
namespace Concrete\Package\Sau;

use Package;
use PageTheme;

defined('C5_EXECUTE') or die(_("Access Denied."));

class Controller extends Package
{

protected $pkgHandle = 'sau';
protected $appVersionRequired = '5.7.5.2';
protected $pkgVersion = '0.0.1';

public function getPackageDescription()
{
return t('An editable packaged copy of the default Servers Australia test theme.');
}

public function getPackageName()
{
return t('Sau');
}

public function install()
{
$pkg = parent::install();
PageTheme::add('sau', $pkg);
}

}

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.