# |
Sep 22nd 2011, 14:16 |
TehTreag |
Hyra: lol |
# |
Sep 22nd 2011, 14:15 |
Hyra |
You mean other than the SQL at http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html#preparing-our-application ? |
# |
Sep 22nd 2011, 14:15 |
NetersLandreau |
it all depends on who maintains the plugin code if there is a 2.0 compatible version.. |
# |
Sep 22nd 2011, 14:15 |
diverdude |
is it written anywhere what requirements for columns and columntypes are needed for user and group tables before they can work with acl, as described here: http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html#acts-as-a-requester ? |
# |
Sep 22nd 2011, 14:14 |
Hyra |
Afternoons. |
# |
Sep 22nd 2011, 14:14 |
ujjain |
ah ok, I haven't done that much with Cake 2.0, but I like having loads of documentation and don't mind using other people's plugins: Sluggable, Search, Recaptcha, Upload, WYSIWYG |
# |
Sep 22nd 2011, 14:10 |
NetersLandreau |
git checkout -b 2.0-dev origin/2.0-dev |
# |
Sep 22nd 2011, 14:09 |
NetersLandreau |
ujjain: cakedc's sluggable behavior? there is a 2.0-dev branch in that repo |
# |
Sep 22nd 2011, 14:09 |
TehTreag |
asmerkin: cake bake Plugin.Model |
# |
Sep 22nd 2011, 14:08 |
asmerkin |
D |
# |
Sep 22nd 2011, 14:08 |
asmerkin |
i found the issue |
# |
Sep 22nd 2011, 14:08 |
ujjain |
Most Cake 1.3 behaviors like sluggable won't work with 2.0, will they? |
# |
Sep 22nd 2011, 14:07 |
asmerkin |
TehTreag: doesn't work |
# |
Sep 22nd 2011, 14:07 |
Terk |
ujjain: ok |
# |
Sep 22nd 2011, 14:06 |
ujjain |
Terk: I use vim |
# |
Sep 22nd 2011, 14:05 |
TehTreag |
ujjain: ^^ |
# |
Sep 22nd 2011, 14:05 |
TehTreag |
asmerkin: It's a php issue... shouldn't matter which CakePHP. |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
I'm using Cake 2 RC2 by the way |
# |
Sep 22nd 2011, 14:05 |
Terk |
ujjain: php editor? |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
TehTreag: cake bake plugin wines controller |
# |
Sep 22nd 2011, 14:05 |
ujjain |
Terk: Yeah, I did not see a whitespace after ?>, but maybe there was, dont know why it works locally though then. |
# |
Sep 22nd 2011, 14:05 |
asmerkin |
TehTreag: i'm doing that ... but it doesn't work |
# |
Sep 22nd 2011, 14:04 |
TehTreag |
~tell ujjain about whitespace |
# |
Sep 22nd 2011, 14:04 |
ujjain |
I removed ?> from models/behaviours/slugglable.php |
# |
Sep 22nd 2011, 14:04 |
ujjain |
Ok, I edited the plugin, it works now. |
# |
Sep 22nd 2011, 14:03 |
diverdude |
TehTreag, Would these tables: http://bin.cakephp.org/view/349873806 work together with this method http://book.cakephp.org/view/1547/Acts-As-a-Requester ? |
# |
Sep 22nd 2011, 14:03 |
TooMuchCaffeine |
hi |
# |
Sep 22nd 2011, 14:02 |
TehTreag |
asmerkin: Sure, specify -plugin on the command line. |
# |
Sep 22nd 2011, 14:02 |
ujjain |
Ubuntu = dev |
# |
Sep 22nd 2011, 14:02 |
ujjain |
Terk: Ubuntu 11.04, CentOS 5.6 |
# |
Sep 22nd 2011, 14:02 |
Terk |
ujjain: development os? |
# |
Sep 22nd 2011, 14:02 |
asmerkin |
fenix`: i don't, but i wanna them baked |
# |
Sep 22nd 2011, 14:02 |
TehTreag |
diverdude: Ok. |
# |
Sep 22nd 2011, 14:02 |
ujjain |
ADmad: I know, but I am using plugins, and the code is the same on multiple servers, I don't think I am supposed to edit the code of the plugins. |
# |
Sep 22nd 2011, 14:02 |
fenix` |
asmerkin: model files really aren't hard to code manually. |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
but it doesn't work |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
i've tried cake bake plugin <pluginname> model |
# |
Sep 22nd 2011, 14:01 |
ADmad |
ujjain: the point of error messages is to actually read them and act upon it |
# |
Sep 22nd 2011, 14:01 |
asmerkin |
is there a way of baking plugin models? |
# |
Sep 22nd 2011, 14:01 |
ujjain |
I used to do programming on the server, now I prefer doing it locally. |
# |
Sep 22nd 2011, 14:01 |
ujjain |
I have my own ESXi server. |