# |
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 |
# |
Aug 8th 2008, 13:03 |
lqdice__ |
its not working |
# |
Aug 8th 2008, 13:01 |
TommyO |
it doesn't force ajax, it recognizes it |
# |
Aug 8th 2008, 13:01 |
TommyO |
I think that you're prematurely optimizing |
# |
Aug 8th 2008, 13:01 |
lqdice__ |
just 1 action |
# |
Aug 8th 2008, 13:01 |
lqdice__ |
TommyO: i dont want it to load w/ every action |
# |
Aug 8th 2008, 13:00 |
TommyO |
lqdice__: why? add it to the controller's $components array |
# |
Aug 8th 2008, 13:00 |
lqdice__ |
TommyO: i dont know if swfupload really sends it as "ajax" per-se.. its posting to it .. ill try it htough |
# |
Aug 8th 2008, 13:00 |
lqdice__ |
can it be loaded dynamically like this: App::import('Component', 'RequestHandling'); ? |
# |
Aug 8th 2008, 12:59 |
TommyO |
lqdice__: read up on it. it's an integral part of cake's ajax support |