# |
Aug 8th 2008, 09:45 |
teknoid |
kamalcom: there are links on the main page of cakephp.org |
# |
Aug 8th 2008, 09:45 |
mguezuraga |
AD7six: no problem ;) |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
oh, ok |
# |
Aug 8th 2008, 09:44 |
kamalcom |
I want if somebody knows a link with sample projects maked with CakePHP?? |
# |
Aug 8th 2008, 09:44 |
AD7six |
mguezuraga: hey. I haven't yet but I'm sure they are perfect. thanks. |
# |
Aug 8th 2008, 09:44 |
gwoo |
to allow for ternary |
# |
Aug 8th 2008, 09:44 |
teknoid |
FunkyWeasel: app model should not have any tables... what exactly are you doing? |
# |
Aug 8th 2008, 09:44 |
gwoo |
which were recently changed |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
yes, sorry |
# |
Aug 8th 2008, 09:44 |
gwoo |
not convention |
# |
Aug 8th 2008, 09:44 |
gwoo |
NOSLOW: you mean coding standards |
# |
Aug 8th 2008, 09:44 |
mguezuraga |
AD7six: did you check the diffs I mailed you? |
# |
Aug 8th 2008, 09:44 |
freebox2 |
gwoo: you have an version to 1.2? |
# |
Aug 8th 2008, 09:44 |
NOSLOW |
gwoo: uses the ternary if |
# |
Aug 8th 2008, 09:43 |
FunkyWeasel |
Hrm, any idea how I can wring up more debug information from the less than useful: "Error: Database table cake_app_models for model AppModel was not found." i.e. which table is missing? |
# |
Aug 8th 2008, 09:43 |
gwoo |
NOSLOW: no following convention? |
# |
Aug 8th 2008, 09:43 |
__mork |
teknoid: in fact a friend worked on the files. he's using windows (italian local.), I do ubuntu |
# |
Aug 8th 2008, 09:43 |
kamalcom |
thnx |
# |
Aug 8th 2008, 09:43 |
freebox2 |
output: WHERE `Piada`.`Titulo` = 'LIKE b%' |
# |
Aug 8th 2008, 09:43 |
teknoid |
__mork: yeah, try to upgrade to a more recent build |
# |
Aug 8th 2008, 09:43 |
gwoo |
hi kamalcom |
# |
Aug 8th 2008, 09:43 |
Martz |
kamalcom: hi o/ |
# |
Aug 8th 2008, 09:43 |
NOSLOW |
which, BTW, is not following convention |
# |
Aug 8th 2008, 09:43 |
gwoo |
need to update the tutorial |
# |
Aug 8th 2008, 09:43 |
gwoo |
freebox2: 1.2 is now different |
# |
Aug 8th 2008, 09:43 |
kamalcom |
i'm new to this beautiful community |
# |
Aug 8th 2008, 09:43 |
NOSLOW |
this line seems to be the culprit: $data = (($type == 'belongsTo') ? Inflector::underscore($assocKey) : Inflector::singularize($this->table)) . '_id'; |
# |
Aug 8th 2008, 09:42 |
freebox2 |
gwoo: the problem is with this line: $base = array($model.'.'.$field => 'LIKE %'.$data[$model][$field].'%'); |
# |
Aug 8th 2008, 09:42 |
gwoo |
__mork: you are using an old version of code |
# |
Aug 8th 2008, 09:42 |
kamalcom |
Hi everybody |
# |
Aug 8th 2008, 09:42 |
gwoo |
but its needed for some joins i think |
# |
Aug 8th 2008, 09:42 |
jerry_and_tom |
var $helpers = array('Html'); |
# |
Aug 8th 2008, 09:42 |
gwoo |
honestly, i dont even know why we set it as anything |
# |
Aug 8th 2008, 09:42 |
teknoid |
jerry_and_tom: just include it in the helpers array |
# |
Aug 8th 2008, 09:42 |
__mork |
teknoid: 1.2.0.7125 |
# |
Aug 8th 2008, 09:42 |
gwoo |
you want the id to be set to id |
# |
Aug 8th 2008, 09:42 |
gwoo |
you have more than 2 fields |
# |
Aug 8th 2008, 09:42 |
gwoo |
NOSLOW: it sounds like your scenario |
# |
Aug 8th 2008, 09:42 |
jerry_and_tom |
can somebody tell me how i can use a html helper inside my own helper ... i'v already listet it like this in my helper class ... $restStartDate = mktime(0, 0, 0, date("m",$date) , $prevday+1, date("Y",$date)); |
# |
Aug 8th 2008, 09:41 |
NOSLOW |
gwoo: I think the problem is a little deeper... |
# |
Aug 8th 2008, 09:41 |
gwoo |
oh man, people listening to mariano again |