# |
Aug 8th 2008, 13:39 |
mil |
hold on, thanks |
# |
Aug 8th 2008, 13:39 |
mil |
I'll bin |
# |
Aug 8th 2008, 13:39 |
mil |
okay, oaky |
# |
Aug 8th 2008, 13:39 |
teknoid |
mil: is that not what you wanted? |
# |
Aug 8th 2008, 13:39 |
AD7six |
it only takes a couple of minutes to do what it's telling you. |
# |
Aug 8th 2008, 13:39 |
AD7six |
agentbob: it doesn't allow propogation of bad habits - what section. |
# |
Aug 8th 2008, 13:39 |
TommyO |
mil: what EXACTLY does it create? as in: bin the source generated |
# |
Aug 8th 2008, 13:39 |
infantigniter |
lol, i did, i just don't remember everything. and somewhere along the line i developed a fear of using save() for updating. thanks |
# |
Aug 8th 2008, 13:39 |
linked_ |
TommyO: er, just got it from the manual |
# |
Aug 8th 2008, 13:38 |
agentbob |
AD7six: can't edit the manual btw... complains to me to create subsections instead of headers in content... the whole model section is composed of headers :| |
# |
Aug 8th 2008, 13:38 |
linked_ |
AD7six: geez, i think i should get some sleep...sorry |
# |
Aug 8th 2008, 13:38 |
mil |
thanks, btw, yeah, it creates a textarea |
# |
Aug 8th 2008, 13:38 |
AD7six |
infantigniter: of course have you not done the blog tutorial yet? |
# |
Aug 8th 2008, 13:38 |
TommyO |
linked_: and why the 'layouts-xml' and not just 'xml' |
# |
Aug 8th 2008, 13:38 |
teknoid |
infantigniter: save() will do either insert or update |
# |
Aug 8th 2008, 13:38 |
infantigniter |
ad7six: because i just did that and it works fine |
# |
Aug 8th 2008, 13:38 |
infantigniter |
AD7six: i've been scared to use save() because i thought that was exclusive to creation of new records. so just to be sure, i can use save() to update without breaking best practice? |
# |
Aug 8th 2008, 13:37 |
AD7six |
linked_: what is $layout |
# |
Aug 8th 2008, 13:37 |
linked_ |
what is wrong with this: $this->$layout = 'layouts-xml'; |
# |
Aug 8th 2008, 13:37 |
AD7six |
infantigniter: why are you using update all |
# |
Aug 8th 2008, 13:37 |
teknoid |
mil: depending on your version of cake (possibly) echo $form->input('mylovelyfield', array('rows'=>'10')); should produce a textarea |
# |
Aug 8th 2008, 13:36 |
AD7six |
infantigniter: not necessary |
# |
Aug 8th 2008, 13:36 |
infantigniter |
mil: $form->textarea(stuff) |
# |
Aug 8th 2008, 13:36 |
AD7six |
mil: where are you saying that's a textarea |
# |
Aug 8th 2008, 13:35 |
mil |
will try |
# |
Aug 8th 2008, 13:35 |
TommyO |
mil: now bin what the call generates |
# |
Aug 8th 2008, 13:35 |
mil |
yup nope |
# |
Aug 8th 2008, 13:35 |
infantigniter |
or, does anybody know the best way i can go about pretending that a update() function exists? |
# |
Aug 8th 2008, 13:35 |
teknoid |
mil: should work just fine... |
# |
Aug 8th 2008, 13:35 |
mil |
echo $form->input('mylovelyfield', array('rows'=>'10')); |
# |
Aug 8th 2008, 13:35 |
mil |
no, just paste |
# |
Aug 8th 2008, 13:35 |
tbranyen |
bin* |
# |
Aug 8th 2008, 13:34 |
mil |
I'll paste |
# |
Aug 8th 2008, 13:34 |
mil |
guys, I'm using formhelper, I'm passing it |
# |
Aug 8th 2008, 13:34 |
infantigniter |
when it should be for a longtext field anyways |
# |
Aug 8th 2008, 13:34 |
infantigniter |
hmm. does anybody have any any idea why updateAll won't put quotation marks around when i submit an ip address |
# |
Aug 8th 2008, 13:34 |
lqdice__ |
hmm the tree needs to allow for conditions and such on some commands |
# |
Aug 8th 2008, 13:33 |
moelee |
does anyone here use cakewebtest? |
# |
Aug 8th 2008, 13:33 |
teknoid |
mil: and? |
# |
Aug 8th 2008, 13:33 |
AD7six |
mil: that's the point. no it isn't |
# |
Aug 8th 2008, 13:33 |
mil |
AD7six: exactly, right? It is odd :) |