# |
Sep 12th 2009, 05:38 |
NoReGreT |
ok nevermind, i'll just ssl... |
# |
Sep 12th 2009, 05:38 |
JD-Robbs |
Or should the join table have one of every thinkable fields and one of these is then filled with the date depending on the "Customfield.field_type" value? But then it gets a bit complicated and messy :D |
# |
Sep 12th 2009, 05:38 |
biscazziere |
I have a problem with fixtures: I'm writing test for a plugin and I can't manage to import the model schema definition automatically, but use $records manually |
# |
Sep 12th 2009, 05:36 |
JD-Robbs |
Well, I can... But it it actually is not... Does that make sense? ;) |
# |
Sep 12th 2009, 05:36 |
JD-Robbs |
...data is saved in one and the same SQL field type... And I cannot save it in eg datetime, tinyint, text, blob, whatever... |
# |
Sep 12th 2009, 05:36 |
JD-Robbs |
I've got a User which has a set of definitive fields like username, email, password, active etc... Now I have added "Customfield" (these are different types of extra-fields that can be added) and "UsersCustomfield" (user_id, customfield_id and field_data)... Basically to extend a User's fieldset "infinitely". Well, it works but is this the way to go about it? The problem is, that now ALL... |
# |
Sep 12th 2009, 05:32 |
NoReGreT |
if i want to encrypt data then POST them and recv back enccrypted data and decrypt them, how should i go about that? |
# |
Sep 12th 2009, 05:10 |
Hiall |
thank you nini |
# |
Sep 12th 2009, 05:10 |
Hiall |
ah :D awesome |
# |
Sep 12th 2009, 05:09 |
nini |
$this->User->validates(); // -> true/false |
# |
Sep 12th 2009, 05:09 |
nini |
Hiall: $this->User->set($this->data); |
# |
Sep 12th 2009, 05:09 |
Ceeram |
csiegert: left side menu suggest new section |
# |
Sep 12th 2009, 05:04 |
Hiall |
Question, I'm trying to do form validation but I don't want to save the data if it passes but the only way to make it check the validation within the model is to put if ($this->User->validates() andand $this->User->save($this->data)) { is there anyway around this? |
# |
Sep 12th 2009, 04:56 |
csiegert |
How can I add a new section to the cookbook? I can only edit existing sections, but not add new ones. |
# |
Sep 12th 2009, 04:00 |
Ceeram |
morning JD-Robbs |
# |
Sep 12th 2009, 03:51 |
JD-Robbs |
Good morning everyone :) |
# |
Sep 12th 2009, 02:16 |
digiloco |
that's the trouble - the 1.3 branch timestamps say early august |
# |
Sep 12th 2009, 02:13 |
Predominant |
Check the timelines on the branches, to be sure. |
# |
Sep 12th 2009, 02:12 |
Predominant |
1.3-dev isnt used, to my knowledge. |
# |
Sep 12th 2009, 02:11 |
digiloco |
is this the tree that's being developed, as opposed to the last 1.3-dev release in august? |
# |
Sep 12th 2009, 02:11 |
digiloco |
great thanks! |
# |
Sep 12th 2009, 02:11 |
digiloco |
got it |
# |
Sep 12th 2009, 02:10 |
pimpnosis |
But I cannot figure out how to force a layout to be shown for an ajax redirect |
# |
Sep 12th 2009, 02:10 |
pimpnosis |
I'm trying to force a session flash on an Ajax redirect |
# |
Sep 12th 2009, 02:09 |
Predominant |
git checkout -b 1.3 origin/1.3 |
# |
Sep 12th 2009, 02:09 |
Predominant |
then |
# |
Sep 12th 2009, 02:09 |
Predominant |
git clone git@code.cakephp.org:cakephp.git |
# |
Sep 12th 2009, 02:09 |
digiloco |
i've tried git clone dev@code.cakephp.org:cakephp.git but it seems to be 1.2.5 |
# |
Sep 12th 2009, 02:09 |
digiloco |
morning all, how do I pull the latest 1.3 git tree? |
# |
Sep 12th 2009, 02:08 |
pimpnosis |
Is there any way to overwrite the default RequestHandler functions? |
# |
Sep 12th 2009, 02:00 |
HardPhuck |
saveAll |
# |
Sep 12th 2009, 01:56 |
Predominant |
HardPhuck: using save() or saveAll() ? |
# |
Sep 12th 2009, 01:48 |
HardPhuck |
i get no errors |
# |
Sep 12th 2009, 01:48 |
HardPhuck |
hmm i have a form that saves two models, however one model wouldn't validate |
# |
Sep 12th 2009, 00:18 |
savant |
no we are all dead |
# |
Sep 12th 2009, 00:16 |
dperry |
anyone out there? |
# |
Sep 11th 2009, 22:35 |
dhodgkin |
Cache::config('default', array('engine' => 'File')); |
# |
Sep 11th 2009, 22:34 |
dhodgkin |
when the cache is properly configured? |
# |
Sep 11th 2009, 22:34 |
dhodgkin |
why would I be getting CacheCache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE/cake/libs/configure.php, line 663] |
# |
Sep 11th 2009, 22:14 |
palam |
i'm wondering if there's something built in instead of searching for some regex |
# |
Sep 11th 2009, 22:14 |
palam |
rather, just check if an email address is valid without running validates()? |