# |
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 :) |
# |
Aug 8th 2008, 13:33 |
tbranyen |
D |
# |
Aug 8th 2008, 13:33 |
tbranyen |
which is why i'm interested |
# |
Aug 8th 2008, 13:33 |
zeen |
and this will lock customers in for 2/3 years |
# |
Aug 8th 2008, 13:32 |
tbranyen |
but i'm separating from them in a few weeks, to head off to my final year of college, working on building a custom cms in cakephp as well |
# |
Aug 8th 2008, 13:32 |
zeen |
yeha modx looks nice. i just want something though where i can make money |
# |
Aug 8th 2008, 13:32 |
mil |
teknoid: I want to set the number of rows in a text field. It's very simple, I should pass it 'rows'=>'10' in the $html->input's array() |
# |
Aug 8th 2008, 13:32 |
tbranyen |
ended up going with modx |
# |
Aug 8th 2008, 13:32 |
AD7six |
mil: don't you think it would be a bit odd if you couldn't insert a html attribute |
# |
Aug 8th 2008, 13:32 |
tbranyen |
and wrote up a document for my company recommending a new one to use |
# |
Aug 8th 2008, 13:32 |
zeen |
and also this locks customers in :) |
# |
Aug 8th 2008, 13:32 |
tbranyen |
I used pretty much all php based cms's |
# |
Aug 8th 2008, 13:32 |
zeen |
and i don't have time or patience to support it |