# |
Aug 6th 2008, 19:04 |
snizwickit |
TommyO: yeah, and I need the $uses for another query in the action |
# |
Aug 6th 2008, 19:04 |
TommyO |
snizwickit: did your $uses array include the default Model? |
# |
Aug 6th 2008, 19:03 |
TommyO |
snizwickit: you really shouldn't need $uses anyway |
# |
Aug 6th 2008, 19:01 |
snizwickit |
changed back to checkboxes |
# |
Aug 6th 2008, 19:00 |
snizwickit |
er |
# |
Aug 6th 2008, 19:00 |
snizwickit |
actually, it changed back to textboxes after I removed the $uses variable from the controller |
# |
Aug 6th 2008, 18:59 |
renan_saddam |
sorry, let me double check |
# |
Aug 6th 2008, 18:59 |
renan_saddam |
from the table |
# |
Aug 6th 2008, 18:58 |
renan_saddam |
and formhelper does not check column type |
# |
Aug 6th 2008, 18:58 |
renan_saddam |
snizwickit: because default input type is text |
# |
Aug 6th 2008, 18:57 |
snizwickit |
what would be causing this behavior? |
# |
Aug 6th 2008, 18:57 |
snizwickit |
for some reason when I do $form-input(...) on a field that is a TINYINT(1), it's showing a textbox instead of a checkbox |
# |
Aug 6th 2008, 18:48 |
polerin |
anyone know if there is a way to augment what a model contains() rather than replace it? |
# |
Aug 6th 2008, 18:47 |
TommyO |
.ctp is the wave of the future ;) |
# |
Aug 6th 2008, 18:46 |
TommyO |
1.2 really only supports .thtml for backwards compat with 1.1 |
# |
Aug 6th 2008, 18:45 |
thestaff |
yeah i fugured out |
# |
Aug 6th 2008, 18:44 |
renan_saddam |
thestaff: 1.1 doest not has .ctp, I guess |
# |
Aug 6th 2008, 18:41 |
renan_saddam |
CakeTemPlate, is not? |
# |
Aug 6th 2008, 18:41 |
thestaff |
how about in the 1.1 ? |
# |
Aug 6th 2008, 18:41 |
thestaff |
so this is in the 1.2 |
# |
Aug 6th 2008, 18:41 |
renan_saddam |
and ctp is new convetion over thtml |
# |
Aug 6th 2008, 18:41 |
renan_saddam |
custom ext, .ctp and .thtml |
# |
Aug 6th 2008, 18:40 |
thestaff |
? |
# |
Aug 6th 2008, 18:40 |
thestaff |
which one is first > |
# |
Aug 6th 2008, 18:39 |
renan_saddam |
priority |
# |
Aug 6th 2008, 18:39 |
thestaff |
what is the difference between default.thtml and default.ctp ? |
# |
Aug 6th 2008, 18:39 |
thestaff |
hi all |
# |
Aug 6th 2008, 18:33 |
nymacro |
*CRUD |
# |
Aug 6th 2008, 18:33 |
nymacro |
using $actsAs = array('Acl'=>'controlled') should automagically set up CRUX for the model right? |
# |
Aug 6th 2008, 18:32 |
nymacro |
hmm |
# |
Aug 6th 2008, 18:25 |
francky06l |
gwoo: you can post a comment :-) |
# |
Aug 6th 2008, 18:24 |
francky06l |
Bye bakers:-) |
# |
Aug 6th 2008, 18:13 |
TommyO |
yo prince_jammys |
# |
Aug 6th 2008, 18:12 |
francky06l |
gwoo: yes, and not only for this ... I use it for model.record ACL, but what is scaring users is the number of Aro/Acos you could possibly write .. Also, the indexation of the ACL tables should be in the core ... |
# |
Aug 6th 2008, 18:10 |
gwoo |
i think it does a nice job of that |
# |
Aug 6th 2008, 18:10 |
gwoo |
yup |
# |
Aug 6th 2008, 18:09 |
francky06l |
gwoo: anyway, the goal was to show than Auth can be used also for group.roles not inheriting parents .. and keep it quite "minimal" .. I have seen many "strange" solutions |
# |
Aug 6th 2008, 18:08 |
gwoo |
also true |
# |
Aug 6th 2008, 18:06 |
francky06l |
gwoo: I though about this, but consider that having to replace Auth by AuthExt was not too much a problem wiht a good editor |
# |
Aug 6th 2008, 18:05 |
gwoo |
but would have a separate object for Auth to plug into |
# |
Aug 6th 2008, 18:04 |
gwoo |
francky06l: in that case you would not extend Auth component |