CakePHP 2:
Not noticed this behaviour before, is it by design? (Seems odd if it is...)
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(32) NOT NULL,
`password` varchar(64) NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY
Just in case anyone else is looking for the answer to this:
I posted a ticket on CakePHP's issue tracker:
http://cakephp.lighthouseapp.com/projects/42648/tickets/2237-20-plugins-dont-have-a-default-controller
To which Mark responded and updated the migration guide:
Shamless bump!
On Oct 24, 3:44 pm, Richard@Home richardath...@gmail.com wrote:
Hi all.
I have the following $validate in my User model:
var $validate = array(
'email'=array(
'required'=array(
'rule'='notEmpty
I'm also upgrading a 1.3 app but it's proving to be problematic :-S
I'd say if you aren't too far along in your project then upgrade, but
If you're using custom plugins and behaviors prepare for a bit of hair
pulling ;-)
On Oct 27, 1:38 pm, Shukuboy shuku...@gmail.com wrote:
Hi guys,
I have
Hi all
I'm currently re-writing a 1.3 behavior which handles custom routing
In my 1.3 Routable behavior I could pull in a reference to the Route
model in a method with:
App::Import('Model', 'Route');
$Route = new Route();
And access it with: $data = $Route-find('all', ... );
I've tried the
, Richard@Home richardath...@gmail.com wrote:
Hi all
I'm currently re-writing a 1.3 behavior which handles custom routing
In my 1.3 Routable behavior I could pull in a reference to the Route
model in a method with:
App::Import('Model', 'Route');
$Route = new Route();
And access
In CakePHP 1.3 you can have a default controller for your plugins.
e.g. if you had a Users plugin, you could create a users_controller so
that urls such as:
/users/index
/users/edit/2
mapped to the index/edit actions in the Users controller in the Users
plugin
In CakePHP 2.0 you no longer seem
and it works fine..?
d//t.
On Oct 26, 3:52 pm, Richard@Home richardath...@gmail.com wrote:
In CakePHP 1.3 you can have a default controller for your plugins.
e.g. if you had a Users plugin, you could create a users_controller so
that urls such as:
/users/index
/users/edit/2
' plugin
with AccommodationController.php
and it works fine..?
d//t.
On Oct 26, 3:52 pm, Richard@Home richardath...@gmail.com wrote:
In CakePHP 1.3 you can have a default controller for your plugins.
e.g. if you had a Users plugin, you could create a users_controller so
that urls
Hi all.
I have the following $validate in my User model:
var $validate = array(
'email'=array(
'required'=array(
'rule'='notEmpty',
'message'='cannot be blank'
10 matches
Mail list logo