Custom Theme / Edit of Elemental

Permalink
Hey all, I'm editing the theme of Elemental (making a new theme based off of it since the edits I make aren't saving when I edit the CSS, etc).

The steps I've taken so far are:
Copy
/concrete/themes/elemental


to
/application/themes/test


Change
/application/themes/test/description.txt


to look like
Test
This is a test.


change the namespace in
/application/themes/test/page_theme.php


to this
namespace Application\Themes\Test;


The theme appears on the Theme Page to install... However, after doing this I've encountered an error:
The theme file page_theme.php does not defines the class Application\Theme\Test\PageTheme


How do I fix this error?

 
andrew replied on at Permalink Best Answer Reply
andrew
Looks like the second segment of your namespace is "Themes" when it should be "Theme".
AJTD replied on at Permalink Reply
Hmm, that seemed to do the trick! I am however getting a new error, something about:

File `../../../concrete/build/core/include/mixins.less` not found. in main.less


I tried following the steps:
http://www.concrete5.org/community/forums/5-7-discussion/themes-not...
- here, to no avail.