# |
Jan 30th 2014, 04:04 |
BackEndCoder |
if it was required, i would do them manually just outside |
# |
Jan 30th 2014, 04:03 |
markstory |
so how do people know what the fields are for? |
# |
Jan 30th 2014, 04:03 |
BackEndCoder |
sorry was that a trick question? |
# |
Jan 30th 2014, 04:03 |
BackEndCoder |
cause i didn't want labels ? |
# |
Jan 30th 2014, 04:02 |
markstory |
BackEndCoder: why do you turn the labels off? |
# |
Jan 30th 2014, 04:02 |
Starcraftmazter |
ic |
# |
Jan 30th 2014, 04:00 |
BackEndCoder |
as i never use proper feildsets for forms |
# |
Jan 30th 2014, 04:00 |
BackEndCoder |
and do them manually |
# |
Jan 30th 2014, 04:00 |
BackEndCoder |
in cake i normally disable labels anyway |
# |
Jan 30th 2014, 03:59 |
BackEndCoder |
just above it if you wish |
# |
Jan 30th 2014, 03:59 |
BackEndCoder |
but you can manually set a label in html |
# |
Jan 30th 2014, 03:59 |
BackEndCoder |
set the label, in cake its 'label'=> |
# |
Jan 30th 2014, 03:59 |
Starcraftmazter |
but now theres no label |
# |
Jan 30th 2014, 03:59 |
Starcraftmazter |
thanks BackEndCoder |
# |
Jan 30th 2014, 03:58 |
BackEndCoder |
try ->submit |
# |
Jan 30th 2014, 03:58 |
BackEndCoder |
it assume its a input |
# |
Jan 30th 2014, 03:57 |
Starcraftmazter |
wtf |
# |
Jan 30th 2014, 03:57 |
Starcraftmazter |
rather than a submit input |
# |
Jan 30th 2014, 03:57 |
Starcraftmazter |
BackEndCoder: new problem, if i do form->input() it creates it as a textarea |
# |
Jan 30th 2014, 03:50 |
Starcraftmazter |
this stupid system |
# |
Jan 30th 2014, 03:50 |
Starcraftmazter |
lol |
# |
Jan 30th 2014, 03:50 |
Starcraftmazter |
i didnt figure it out someone else at work helped me |
# |
Jan 30th 2014, 03:49 |
BackEndCoder |
but well done |
# |
Jan 30th 2014, 03:49 |
BackEndCoder |
its so strange that it worked ok in the other view |
# |
Jan 30th 2014, 03:48 |
Starcraftmazter |
its the damn dwoo thing |
# |
Jan 30th 2014, 03:48 |
Starcraftmazter |
BackEndCoder: I had to do $this->data['form'] |
# |
Jan 30th 2014, 03:46 |
BackEndCoder |
Starcraftmazter, what was the asnwer ? |
# |
Jan 30th 2014, 03:41 |
Starcraftmazter |
BackEndCoder: got it |
# |
Jan 30th 2014, 02:38 |
RogerWS |
Hello voycey |
# |
Jan 30th 2014, 02:38 |
RogerWS |
tigrang_: thanks for the input |
# |
Jan 30th 2014, 02:38 |
voycey |
Afternoon all :) |
# |
Jan 30th 2014, 02:35 |
tigrang_ |
I would probably pick a one model as the "main" one, and add either manual joins using 'joins' key inside a custom find method, or bind them as belongsTo with no foriegnKey |
# |
Jan 30th 2014, 02:31 |
RogerWS |
In this case, the 2 tables being searched aren't related. |
# |
Jan 30th 2014, 02:30 |
tigrang_ |
RogerWS: how are the tables related? |
# |
Jan 30th 2014, 02:30 |
RogerWS |
Thank you |
# |
Jan 30th 2014, 02:30 |
RogerWS |
jorgec: okay, I'll try that. Maybe I was just over thinking this. |
# |
Jan 30th 2014, 02:28 |
jorgec |
RogerWS: ModelA.title LIKE ..., ModelB.title LIKE ... |
# |
Jan 30th 2014, 02:26 |
RogerWS |
jergec: Can I specify multiple models doing that? I haven't looked close enough at that either. |
# |
Jan 30th 2014, 02:25 |
jorgec |
RogerWS: Why don't you add a condition to the pagination settings, Model.title LIKE ... ? |
# |
Jan 30th 2014, 02:22 |
RogerWS |
Yes the field name is the same for both models (Title) |
# |
Jan 30th 2014, 02:21 |
jorgec |
RogerWS: which field? is it the same for all models? |