-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Check out the current branch. Well.. not check out, but “clone” it. Then copy the files over into your project. You can also just use the “Download” option on the repository page to create a ZIP bundle.
After you’ve put everything in place you should have a layout like this in your app directory
app
|— tmp
| |— haml
| |— sass
|— views
| |— chaml.php
|— vendors
| |— haml
| |— markdown
| |— common
| |— sass
|— webroot
| |— sass.php
Okay.. the views/chaml.php is the View class that is being used by your controllers from now on. The webroot/sass.php file is a asset filter for CSS. You can configure it in your core.php.
Okay.. the views/chaml.php is the View class that is being used by your controllers from now on. The webroot/sass.php file is a asset filter for CSS. You can configure it in your core.php.##Using the CHAML View##
Okay.. the views/chaml.php is the View class that is being used by your controllers from now on. The webroot/sass.php file is a asset filter for CSS. You can configure it in your core.php.##Using the CHAML View##
class AppController extends Controller {
var $view = ‘Chaml’;
}
Okay.. the views/chaml.php is the View class that is being used by your controllers from now on. The webroot/sass.php file is a asset filter for CSS. You can configure it in your core.php.##Using the CHAML View##
##Using the SASS Filter##
class AppController extends Controller {
var $view = ‘Chaml’;
}
Okay.. the views/chaml.php is the View class that is being used by your controllers from now on. The webroot/sass.php file is a asset filter for CSS. You can configure it in your core.php.##Using the CHAML View##
##Using the SASS Filter##
class AppController extends Controller {
var $view = ‘Chaml’;
}
// core.phpOkay.. the
views/chaml.phpis the View class that is being used by your controllers from now on. Thewebroot/sass.phpfile is a asset filter for CSS. You can configure it in yourcore.php.##Using the CHAML View####Using the SASS Filter##
class AppController extends Controller {
var $view = ‘Chaml’;
}
// core.php/**
- Compress CSS output by removing comments, whitespace, repeating tags, etc.
- This requires a/var/cache directory to be writable by the web server for caching.
- and /vendors/csspp/csspp.php
* - To use, prefix the CSS link URL with ‘/ccss/’ instead of ‘/css/’ or use HtmlHelper::css().
*/
Configure::write(‘Asset.filter.css’, ‘sass.php’);
##Configuration##
Continue reading HAML Configuration and / or SASS Configuration