# |
Aug 8th 2008, 09:42 |
jerry_and_tom |
var $helpers = array('Html'); |
# |
Aug 8th 2008, 09:42 |
gwoo |
honestly, i dont even know why we set it as anything |
# |
Aug 8th 2008, 09:42 |
teknoid |
jerry_and_tom: just include it in the helpers array |
# |
Aug 8th 2008, 09:42 |
__mork |
teknoid: 1.2.0.7125 |
# |
Aug 8th 2008, 09:42 |
gwoo |
you want the id to be set to id |
# |
Aug 8th 2008, 09:42 |
gwoo |
you have more than 2 fields |
# |
Aug 8th 2008, 09:42 |
gwoo |
NOSLOW: it sounds like your scenario |
# |
Aug 8th 2008, 09:42 |
jerry_and_tom |
can somebody tell me how i can use a html helper inside my own helper ... i'v already listet it like this in my helper class ... $restStartDate = mktime(0, 0, 0, date("m",$date) , $prevday+1, date("Y",$date)); |
# |
Aug 8th 2008, 09:41 |
NOSLOW |
gwoo: I think the problem is a little deeper... |
# |
Aug 8th 2008, 09:41 |
gwoo |
oh man, people listening to mariano again |
# |
Aug 8th 2008, 09:41 |
jerry_and_tom |
hi guys |
# |
Aug 8th 2008, 09:41 |
gwoo |
NOSLOW: you want this back? if (count($this->{$joinClass}->_schema) > 2) |
# |
Aug 8th 2008, 09:41 |
NOSLOW |
I borrowed that term from Mariano's blog post: http://www.cricava.com/blogs/index.php?blog=6andtitle=modelizing_habtm_join_tables_in_cakephp_andmore=1andc=1andtb=1andpb=1 |
# |
Aug 8th 2008, 09:40 |
_nate_ |
gwoo: that was that thing we were in the middle of fixing |
# |
Aug 8th 2008, 09:40 |
gwoo |
how exactly |
# |
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 |