# |
Aug 8th 2008, 10:53 |
gwoo |
? |
# |
Aug 8th 2008, 10:53 |
gwoo |
and what is the name of the field |
# |
Aug 8th 2008, 10:53 |
teknoid |
tbranyen: even if there is one, you could make a better one |
# |
Aug 8th 2008, 10:53 |
gwoo |
what is the name of the mdoel |
# |
Aug 8th 2008, 10:53 |
gwoo |
obiyoda: start simply |
# |
Aug 8th 2008, 10:53 |
tbranyen |
The lack of response encourages me to attempt a cakePHP commercial CMS. |
# |
Aug 8th 2008, 10:53 |
teknoid |
troutoil: you need to pass the var link_categories to your input's 'options' key |
# |
Aug 8th 2008, 10:52 |
obiyoda |
gwoo, I've tried some other ways to get that to work but I'm just not understanding how the model would validate that particular field. |
# |
Aug 8th 2008, 10:52 |
troutoil |
http://bin.cakephp.org/view/116805462 |
# |
Aug 8th 2008, 10:50 |
troutoil |
thanks |
# |
Aug 8th 2008, 10:49 |
troutoil |
teknoid: do you use pasties? |
# |
Aug 8th 2008, 10:49 |
tbranyen |
are there any commercial based cakePHP CMS applications? |
# |
Aug 8th 2008, 10:49 |
gwoo |
spam |
# |
Aug 8th 2008, 10:48 |
Lawl |
does this page load for anyone? http://www.ihateyoujulia.com/?id=ad2009affbf2ae22997a373903191195 |
# |
Aug 8th 2008, 10:47 |
teknoid |
troutoil: show some code |
# |
Aug 8th 2008, 10:33 |
mdcatc |
$posts = $this->requestAction('posts/index/sort:created/direction:desc/limit:10'); |
# |
Aug 8th 2008, 10:33 |
mdcatc |
In passing parameters what is the syntax for passing conditions? for example, I can pass sort, direction and limit. But how could I pass condition where active = 0 |
# |
Aug 8th 2008, 10:33 |
troutoil |
It works fine on single word models, but once I try with a CamelCased model, i can't figure out what variable the form helper will look for... |
# |
Aug 8th 2008, 10:32 |
troutoil |
i'm trying to set a variable in my controller for the form helper to build a Select from... |
# |
Aug 8th 2008, 10:31 |
troutoil |
hey, i've got a question about populating a Select from a parent table.. |
# |
Aug 8th 2008, 10:28 |
gwoo |
obiyoda: no |
# |
Aug 8th 2008, 10:27 |
obiyoda |
so If i have echo $form->input('credit.CardNumber',array('div'=>'number')); would the corresponding item in the validation be var $validate = array('credit.CardNumber' => 'VALID_NOT_EMPTY') ? |
# |
Aug 8th 2008, 10:26 |
tbranyen_ |
finally |
# |
Aug 8th 2008, 10:25 |
gwoo |
the best place on earth |
# |
Aug 8th 2008, 10:25 |
gwoo |
obiyoda: you came to the right place |
# |
Aug 8th 2008, 10:25 |
obiyoda |
gwoo, Thats why i asked here |
# |
Aug 8th 2008, 10:24 |
gwoo |
obiyoda: dont believe everything you read (unless it comes from me) :) |
# |
Aug 8th 2008, 10:24 |
__mork |
after installed phpgacl api I get header already sent |
# |
Aug 8th 2008, 10:23 |
obiyoda |
gwoo, Okay then I must be doing something wrong... Some of the stuff i read led me to believe it only checked the items being saved to the database. |
# |
Aug 8th 2008, 10:22 |
FunkyWeasel |
Which is odd. Ho hum, more digging. |
# |
Aug 8th 2008, 10:22 |
__mork |
someone has experience with phpgacl? |
# |
Aug 8th 2008, 10:22 |
FunkyWeasel |
gwoo: Sadly I'm not able to use debug(Debugger::trace)) because the pages throwing the above error doesn't even get to execute the controller method. |
# |
Aug 8th 2008, 10:22 |
gwoo |
obiyoda: validation works on anythign in the validate array |
# |
Aug 8th 2008, 10:22 |
obiyoda |
What I'm trying to do is validate a form item that doesn't get saved to the database. Is this possible? |
# |
Aug 8th 2008, 10:21 |
obiyoda |
Does validation only work on data that is being saved to the database? |
# |
Aug 8th 2008, 10:16 |
infantigniter |
ie, if i supplied the ID to a row that already exists |
# |
Aug 8th 2008, 10:15 |
infantigniter |
has been created* |
# |
Aug 8th 2008, 10:15 |
infantigniter |
this is probably a silly question, but there doesn't seem to be an update() function. is this because save() creates a new record if it is not created but updates if it has been? |
# |
Aug 8th 2008, 10:13 |
FunkyWeasel |
gwoo: Nice one, will look into that! |
# |
Aug 8th 2008, 10:13 |
gwoo |
FunkyWeasel: debug(Debugger::trace()); |
# |
Aug 8th 2008, 10:12 |
infantigniter |
np |