Skip to content
m3nt0r edited this page Sep 13, 2010 · 7 revisions

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##


class AppController extends Controller {
var $view = ‘Chaml’;
}
##Using the SASS Filter##

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’;
}
##Using the SASS Filter##

// 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##


class AppController extends Controller {
var $view = ‘Chaml’;
}
##Using the SASS Filter##

// 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

Clone this wiki locally