# |
Aug 10th 2008, 00:37 |
Veracious |
darki: '$this->Model1->Model2->save()' to save the 2nd Model |
# |
Aug 10th 2008, 00:36 |
darki |
veracious: and then with "this->data->save()" all models are saved? |
# |
Aug 10th 2008, 00:35 |
skua |
what the best way to make a LIKE %$foo% filtering with conditions ? |
# |
Aug 10th 2008, 00:35 |
Veracious |
last one is in the controller |
# |
Aug 10th 2008, 00:35 |
Veracious |
'$form->create()' to create a form. '$form->input('Model1.field1)' and '$form->input('Model2.field1)' to make the form input elements. '$this->Model1->Model2->create()' to initialize the 2nd Model |
# |
Aug 10th 2008, 00:27 |
darki |
hi - how can i fill more than one model with data from one view? |
# |
Aug 10th 2008, 00:24 |
JD__ |
somebody has done what you need before or at least talked about it :) |
# |
Aug 10th 2008, 00:23 |
JD__ |
all day today i have thta, the api page and google up |
# |
Aug 10th 2008, 00:23 |
JD__ |
I have had great luck with book.cakephp.org |
# |
Aug 10th 2008, 00:08 |
mitnavn |
If it's the one I think it is, there's a bad review on amazon about the codeblocks having typos consistent throughout the book etc. |
# |
Aug 10th 2008, 00:02 |
redZoneDev |
anyone have a good/bad opinon of Apress's CakePHP book? http://apress.com/book/downloadfile/4066 .. i'm looking to learn cakephp and the stuff at book.cakephp.org isnt very mvc beginner-friendly |
# |
Aug 9th 2008, 23:55 |
tomas- |
np |
# |
Aug 9th 2008, 23:55 |
mitnavn |
Thanks again! |
# |
Aug 9th 2008, 23:54 |
tomas- |
http://book.cakephp.org/view/176/email |
# |
Aug 9th 2008, 23:53 |
mitnavn |
I haven't been able to find anything about it :/ Maybe I'm searching for the wrong keywords |
# |
Aug 9th 2008, 23:53 |
tomas- |
the file it looks for is actually /app/views/elements/email/text/template.ctp (dont forget the .ctp) |
# |
Aug 9th 2008, 23:53 |
tomas- |
the manual covers it pretty well |
# |
Aug 9th 2008, 23:53 |
tomas- |
yeah |
# |
Aug 9th 2008, 23:52 |
mitnavn |
Oh by the way, I assume the text folder is only for emails send as text, so I should create one for html as well? |
# |
Aug 9th 2008, 23:51 |
mitnavn |
Okay. Thanks :) |
# |
Aug 9th 2008, 23:51 |
tomas- |
create it, yeah, (thats what i did) |
# |
Aug 9th 2008, 23:50 |
mitnavn |
I don't have an email subfolder in my elements directory. Should I just create the folders myself? |
# |
Aug 9th 2008, 23:49 |
tomas- |
app/views/elements/email/text/template ? |
# |
Aug 9th 2008, 23:48 |
mitnavn |
If I set $this->Email->template = 'template'; then where does it look for this file? |
# |
Aug 9th 2008, 23:46 |
tomas- |
is uploading files via ajax possible? I thought i came across some article saying its not (or at least not straightforward)... i have an ajax form that's multipart/form-data, tho it doesnt seem to upload the file, only send the name |
# |
Aug 9th 2008, 23:10 |
rnickel |
any guru's around? |
# |
Aug 9th 2008, 23:09 |
bobbobbins |
but they weren't at first, until i did the old switcheroo |
# |
Aug 9th 2008, 23:09 |
bobbobbins |
hmm...and now that i've switched it back to production...they show up |
# |
Aug 9th 2008, 23:05 |
bobbobbins |
any idea why this would happen? |
# |
Aug 9th 2008, 23:04 |
bobbobbins |
i have something weird going on...when debugging is on, the records im trying to get are returned, and theres no errors...but when i turn debugging off, i get no records at all |
# |
Aug 9th 2008, 23:04 |
bobbobbins |
hello |
# |
Aug 9th 2008, 22:24 |
JD__ |
I'm having an issue with child objects not prompting the user during create when validation rules are broken I have manually load and validate the child object, which seems pretty clunky http://bin.cakephp.org/saved/35953 anyone know whats going on here? |
# |
Aug 9th 2008, 22:20 |
pyite |
is there a recommended documentation generation program for use w/ cake? (like phpdocumentor as an example?) |
# |
Aug 9th 2008, 22:19 |
flauberts |
me too |
# |
Aug 9th 2008, 22:17 |
JD__ |
flauberts - i think that is an issue with your web server |
# |
Aug 9th 2008, 22:17 |
kalileo |
) never mind |
# |
Aug 9th 2008, 22:16 |
kalileo |
Hi Matt1 ... i haven't asked anything ;) |
# |
Aug 9th 2008, 22:16 |
Matt1 |
kalileo: no idea. |
# |
Aug 9th 2008, 22:13 |
flauberts |
even if the controller exists |
# |
Aug 9th 2008, 22:12 |
flauberts |
"Object not found' |
# |
Aug 9th 2008, 22:10 |
JD__ |
and what exactly does it say when you try it? |