# |
Sep 11th 2009, 19:44 |
ADmad |
~tell Hiall about bin |
# |
Sep 11th 2009, 19:44 |
Hiall |
it's as though its querying the table for that function |
# |
Sep 11th 2009, 19:44 |
Hiall |
hmmn :S |
# |
Sep 11th 2009, 19:43 |
markstory |
app/models/behaviors/foo.php -> FooBehavior extends ModelBehavior |
# |
Sep 11th 2009, 19:43 |
markstory |
no they should just work. |
# |
Sep 11th 2009, 19:40 |
Hiall |
When using behaviors in cake, is there any setup I need to have. Currently my cake doesn't seem to be finding any instances of the behavior and throwing sql errors. |
# |
Sep 11th 2009, 19:36 |
dhodgkin |
ADmad: I figured it out, something got left out during the copy of 1.2.5. I fixed my issue. Thanks! |
# |
Sep 11th 2009, 19:35 |
Seguer |
but the problem is - what if their app is using normal Auth/Acl already? |
# |
Sep 11th 2009, 19:34 |
Seguer |
i suppose you could modify core.php as part of the install? |
# |
Sep 11th 2009, 19:34 |
Seguer |
cos the plugin should just drop in and work (after an "install" maybe) |
# |
Sep 11th 2009, 19:34 |
markstory |
why? |
# |
Sep 11th 2009, 19:34 |
Seguer |
which is not acceptable unfortunately :/ |
# |
Sep 11th 2009, 19:33 |
Seguer |
no one on here at the time seemed interested |
# |
Sep 11th 2009, 19:33 |
markstory |
but any way you cut it you need to modify core.php |
# |
Sep 11th 2009, 19:33 |
Seguer |
i thought of that last night too |
# |
Sep 11th 2009, 19:33 |
markstory |
You could always subclass all of DbAcl |
# |
Sep 11th 2009, 19:33 |
Seguer |
that's the issue :P |
# |
Sep 11th 2009, 19:33 |
Seguer |
yeah exactly |
# |
Sep 11th 2009, 19:33 |
markstory |
and you can't easily prefix the table name.s |
# |
Sep 11th 2009, 19:33 |
markstory |
its Auth + plugin that isn't so great |
# |
Sep 11th 2009, 19:33 |
markstory |
you can use Acl fine |
# |
Sep 11th 2009, 19:32 |
Seguer |
cos you can't use acl from a plugin |
# |
Sep 11th 2009, 19:32 |
Seguer |
yeah, but not using cake acl :P |
# |
Sep 11th 2009, 19:31 |
ifunk |
as in acl? |
# |
Sep 11th 2009, 19:31 |
Seguer |
anyone implemented object based permissions (eg. check to see if an object can CRUD another object?) |
# |
Sep 11th 2009, 19:22 |
ifunk |
jjwdesign: if you need any help with drag and drop tree, let me know (i wrote that article) |
# |
Sep 11th 2009, 19:11 |
ADmad |
*changed |
# |
Sep 11th 2009, 19:11 |
ADmad |
i find that hard to believe since neither folder structure nor any path constants have change in 1.2.5 afaik |
# |
Sep 11th 2009, 19:08 |
dhodgkin |
ADmad: it has a standard dir structure. All I did was drop the cake/ dir in place of the 1.2.4.x dir, so nothing has change as far as dir structure. |
# |
Sep 11th 2009, 19:06 |
ADmad |
dhodgkin: no.. there's no change in the folder structure of cakephp package... most likely you must be using a non-default folder strucutre.. btw NEVER modify any files inside the "cake" folder.. all path configs can be done in your webroot/index.php |
# |
Sep 11th 2009, 19:03 |
jjwdesign |
ADmad, wow that's pretty cool. Thanks. |
# |
Sep 11th 2009, 19:02 |
dhodgkin |
has anyone else had issues with paths.php and having to define ROOT as ../../ in order to get cake 1.2.5 to work right after an upgrade on a site using 1.2.4.x? |
# |
Sep 11th 2009, 19:02 |
dhodgkin |
can I reiterrate my question? |
# |
Sep 11th 2009, 19:00 |
ADmad |
~tell jjwdesign about google cakephp tree extjs |
# |
Sep 11th 2009, 19:00 |
jjwdesign |
I'm looking for something that will let admin users edit a Tree structure (ajax like). |
# |
Sep 11th 2009, 18:59 |
jjwdesign |
Does anyone know of any good plugins/helpers to display/edit tree behavioral model data? |
# |
Sep 11th 2009, 18:57 |
wesley_unipac |
ok, sorry |
# |
Sep 11th 2009, 18:56 |
ADmad |
wesley_unipac: dont paste code in channel. use the bin always |
# |
Sep 11th 2009, 18:56 |
jjwdesign |
!bin |
# |
Sep 11th 2009, 18:56 |
wesley_unipac |
</IfModule> |
# |
Sep 11th 2009, 18:56 |
wesley_unipac |
RewriteRule (.*) app/webroot/$1 [L] |