Learn how to set up paths on a mac for the cake bake tool
the contents for the .profile
export PATH=/Applications/MAMP/bin/php5/bin/:/Applications/MAMP/Library/bin/:/Users/you
This blog just to collect from other web for easy to my bookmark all reference about cakephp. Another thing I would like share to other cakephp followers.
To use it, just place the behavior file on the proper place (/app/models/behaviors/)and call it on the model you want to “slugify”:
var $actsAs = array('Sluggable');
|
var $actsAs = array(
'Sluggable' => array(
'fields' => 'title',
'scope' => false,
'conditions' => false,
'slugfield' => 'slug',
'separator' => '-',
'overwrite' => false,
'length' => 256,
'lower' => true
)
);