Re: Complete Account Management

2008-01-30 Thread grigri
Try something like this: (untested, but theoretically sound) model: class User extends AppModel { var $name = "User"; var $validateAction = 'default'; var $validate = array(); var $validateActions = array( ':default' => array( // ... ), ':admin' => array( // ..

Complete Account Management

2008-01-30 Thread MrTufty
Hi all, I'm at the latter stages of a big-ish CakePHP 1.2 project now (it's an online wine store with a bespoke shopping cart system, entirely developed by myself - which probably means it's full of bugs since I haven't had time to write full tests for the thing). One of the requirements is for