# |
Aug 8th 2008, 09:40 |
_nate_ |
dynamic models |
# |
Aug 8th 2008, 09:40 |
NOSLOW |
gwoo: but it's receiving "article_id" as the primaryKey, instead of leaving it just "id" |
# |
Aug 8th 2008, 09:40 |
gwoo |
NOSLOW: auto-modelizing? |
# |
Aug 8th 2008, 09:39 |
freebox2 |
any ideas abou my problem? |
# |
Aug 8th 2008, 09:38 |
NOSLOW |
gwoo: I'm auto-modelizing the HABTM join table to update an extra field like so: $this->Article->ArticlesTag->saveField('extra_field', $extra_value, false); |
# |
Aug 8th 2008, 09:36 |
__mork |
no success |
# |
Aug 8th 2008, 09:35 |
gwoo |
NOSLOW: ok, can you describe your setup? |
# |
Aug 8th 2008, 09:35 |
__mork |
i tried to change the application charset to iso-8859-1 |
# |
Aug 8th 2008, 09:35 |
NOSLOW |
gwoo: Ok, well I'll try to work up a test that proves otherwise. That change broke something in my app. |
# |
Aug 8th 2008, 09:34 |
gwoo |
NOSLOW: was not needed |
# |
Aug 8th 2008, 09:34 |
NOSLOW |
gwoo: Is there a specific reason why you removed that last check on making sure that primaryKey gets set? Specifically, the line $this->{$joinClass}->primaryKey = 'id'; |
# |
Aug 8th 2008, 09:33 |
freebox2 |
Piada is my model titulo is the field |
# |
Aug 8th 2008, 09:33 |
freebox2 |
in my view: <?php echo $ajax->autoComplete('Piada/Titulo'); ?> |
# |
Aug 8th 2008, 09:32 |
freebox2 |
the query appears be ok |
# |
Aug 8th 2008, 09:32 |
freebox2 |
i get only the debug |
# |
Aug 8th 2008, 09:32 |
freebox2 |
i dont know what is wrong :( |
# |
Aug 8th 2008, 09:31 |
gwoo |
freebox2: yup thats right |
# |
Aug 8th 2008, 09:31 |
gwoo |
NOSLOW: ok |
# |
Aug 8th 2008, 09:30 |
__mork |
and more exactly at if (empty($charset)) ... |
# |
Aug 8th 2008, 09:29 |
NOSLOW |
gwoo: I have a question on https://trac.cakephp.org/changeset/7393 |
# |
Aug 8th 2008, 09:28 |
__mork |
someone could help? thnx |
# |
Aug 8th 2008, 09:28 |
freebox2 |
Pacifists: uhm, ok |
# |
Aug 8th 2008, 09:28 |
__mork |
at that point there is a Convenience method for htmlspecialchars: function h |
# |
Aug 8th 2008, 09:28 |
gishdog |
has anyone tried the twitter component: http://bakery.cakephp.org/articles/view/twitter-component having issues with authentication |
# |
Aug 8th 2008, 09:27 |
Pacifists |
I though you get the list + debug info :) |
# |
Aug 8th 2008, 09:27 |
__mork |
in in /var/www/prestazioni/cake/basics.php on line 208 |
# |
Aug 8th 2008, 09:27 |
Pacifists |
freebox then something is not working if you don't get what you hoped for |
# |
Aug 8th 2008, 09:27 |
teknoid |
__mork: what version of cake? |
# |
Aug 8th 2008, 09:26 |
__mork |
hi. I get an error Controller method: Allowed memory size of 16777216 bytes exhausted |
# |
Aug 8th 2008, 09:26 |
gishdog |
can anyone help me with a twitter and cakephp issue? |
# |
Aug 8th 2008, 09:26 |
freebox2 |
now, nothing appears.. |
# |
Aug 8th 2008, 09:26 |
freebox2 |
Pacifists: in core.php? |
# |
Aug 8th 2008, 09:24 |
briddo |
hi, does anyone here know how i can make a radio button be selected by default in the cake 1.2 form helper? |
# |
Aug 8th 2008, 09:24 |
Kitara |
how do you import a vendor class which is conained in plugins/myplugin/vendors ? |
# |
Aug 8th 2008, 09:23 |
Pacifists |
freebox set 'debug' to 1 |
# |
Aug 8th 2008, 09:22 |
NOSLOW |
hello |
# |
Aug 8th 2008, 09:17 |
freebox2 |
gwoo: I've followed your article: http://bakery.cakephp.org/articles/view/autocomplete and all appears ok. But the auto complete show the cake debug? It's right? |
# |
Aug 8th 2008, 09:11 |
FunkyWeasel |
I've tried setting 'recursive' as a class var in the relevant models, but to no avail so far. Any other solutions (apart from jetisonning the datastructure as it's unavoidable legacy for the time being)? |
# |
Aug 8th 2008, 09:09 |
FunkyWeasel |
I also found that circular relationships also cause a silent fail (e.g. a company model has a has a belongsTo relationship to a contact details model, and the contact details model has a belongsTo relationship to company model which worked under 1.1). |
# |
Aug 8th 2008, 09:07 |
FunkyWeasel |
For instance our category model has two relations, child and parent, which respectively map to the same but under different names. |
# |
Aug 8th 2008, 09:06 |
FunkyWeasel |
I'm currently migrating our codebase from 1.1 to 1.2 and noticed something strange with relationships. From what I can tell 1.2 has 'lost' the ability to deal with recursive model relationships. |