Log message #111774

# At Username Text
# Aug 8th 2008, 13:22 agentbob AD7six: so is what i'm trying to do possible with cake?
# Aug 8th 2008, 13:22 freebox2 teknoid: may be
# Aug 8th 2008, 13:22 AD7six agentbob: what a surprise
# Aug 8th 2008, 13:22 agentbob the sql is broken. WHERE fieldname IN ('LIKE %foo%'); will not work
# Aug 8th 2008, 13:21 agentbob AD7six: it's not a question of what an array does, it's a question of how cake handles it
# Aug 8th 2008, 13:21 agentbob what's the same thing?
# Aug 8th 2008, 13:21 AD7six agentbob: it's a misunderstanding
# Aug 8th 2008, 13:21 AD7six agentbob: i's the same thing
# Aug 8th 2008, 13:21 agentbob it should handle each element of the array the same way it'd handle a string sent instead of the array
# Aug 8th 2008, 13:20 zeen D
# Aug 8th 2008, 13:20 zeen http://www.firecreek.co.uk/files/videos/2008-08-08_1916.swf
# Aug 8th 2008, 13:20 zeen if anyone wants to check out this cms i'm making with cakephp/extjs
# Aug 8th 2008, 13:20 agentbob AD7six: it's not a question of what an array does, it's a question of how cake handles it
# Aug 8th 2008, 13:20 mil It's rendering the same number of rows every time, though.
# Aug 8th 2008, 13:20 AD7six agentbob: what does an array 'do'
# Aug 8th 2008, 13:19 mil I'm having trouble setting the number of rows for a textarea. I create it using $html->input('input_name', array('rows'=>'5', 'label'=>'thisismylabel'))
# Aug 8th 2008, 13:19 agentbob AD7six: not entirely.. 'LIKE' works if it's not in an array
# Aug 8th 2008, 13:19 AD7six 'ello
# Aug 8th 2008, 13:19 lqdice__ hello AD7six
# Aug 8th 2008, 13:19 AD7six agentbob: obvious that it would do that if you think about it.
# Aug 8th 2008, 13:18 AD7six freebox2 is the locale of your server br-pt
# Aug 8th 2008, 13:18 agentbob teknoid: any idea if there's a way to do multiple LIKE calls with that advnaced search? $conditions['OR']['fieldname'] = array('LIKE %foo%','LIKE %bar%'); comes out as: WHERE fieldname IN ('LIKE %foo%', 'LIKE %bar');
# Aug 8th 2008, 13:17 teknoid freebox2: in the view?
# Aug 8th 2008, 13:16 freebox2 how i can translate $piada['Piada']['created']; (DATE TIME) to brazilian portuguese: 27/12/2007
# Aug 8th 2008, 13:14 teknoid AD7six: ahh... i was wondering about that :)
# Aug 8th 2008, 13:13 AD7six teknoid: bizarre to approve messages from an old veteran ;)
# Aug 8th 2008, 13:12 teknoid AD7six: this morning
# Aug 8th 2008, 13:12 AD7six teknoid: purely out of interest did you recently change the email you use on the google group
# Aug 8th 2008, 13:10 lqdice__ this security component is too secure.. there is no easy to way to debug it
# Aug 8th 2008, 13:08 lqdice__ just saved me a few lines of code
# Aug 8th 2008, 13:08 lqdice__ )
# Aug 8th 2008, 13:08 lqdice__ oh ok
# Aug 8th 2008, 13:07 TommyO lqdice__: startup() in a component will only run if component is enabled
# Aug 8th 2008, 13:07 lqdice__ oh the component class lets you disable them? cause I didnt see anything in the actual security class
# Aug 8th 2008, 13:07 TommyO lqdice__: check the Component class
# Aug 8th 2008, 13:07 TommyO lqdice__: $this->Security->enabled = false; in beforeFilter() or something like that
# Aug 8th 2008, 13:05 lqdice__ thats the only way i see right now
# Aug 8th 2008, 13:05 lqdice__ i might just have to make it so i can force the security component not to load for some actions
# Aug 8th 2008, 13:05 lqdice__ yeah doesnt recognize it
# Aug 8th 2008, 13:04 lqdice__ swfupload afaik just does a regular post to that url so it may not detect it as ajax
# Aug 8th 2008, 13:03 lqdice__ the security component kicks in and says my request is bad