Log message #110489

# At Username Text
# Aug 7th 2008, 21:32 markstory lqdice__: you don't
# Aug 7th 2008, 21:32 lqdice__ damn swfupload isnt working in IE
# Aug 7th 2008, 21:32 lqdice__ oh god.. how do you debug javascript in IE ?
# Aug 7th 2008, 21:26 Jonah you would think var $displayField = 'username'; would fix it but it doesen't
# Aug 7th 2008, 21:26 SamuraiDio ok, no pro....
# Aug 7th 2008, 21:25 SamuraiDio ohh shit, alphaNumeric don't allow áéíóú 8\
# Aug 7th 2008, 21:24 Jonah if anything it should make the username field bold
# Aug 7th 2008, 21:24 Jonah real questing: on my user registration form, it is automatically making the email field bold. why?
# Aug 7th 2008, 21:24 t73net Hey all
# Aug 7th 2008, 21:23 Jonah They should have CakeIgnitorPhony
# Aug 7th 2008, 21:22 SamuraiDio yeah, seens the way to do
# Aug 7th 2008, 21:21 infantigniter otherwise i don't know what you'd do, besides use VALID_NOT_EMPTY which might be deprecated but still works in my app
# Aug 7th 2008, 21:20 infantigniter instead of alphanumeric
# Aug 7th 2008, 21:20 infantigniter SamuraiDio: try 'rule'=>''
# Aug 7th 2008, 21:20 SamuraiDio infantigniter, but i don't want alphaNumeric, but anything, even special chars
# Aug 7th 2008, 21:20 infantigniter SamuraiDio: try 'first_name'=>array('rule'=>'alphaNumeric', 'allowEmpty'=>false)
# Aug 7th 2008, 21:19 SamuraiDio Warning (2): preg_match() [function.preg-match]: Empty regular expression [CORE/cake/libs/model/model.php, line 2202]
# Aug 7th 2008, 21:19 SamuraiDio infantigniter, this is not working: 'first_name' => array('allowEmpty' => false)
# Aug 7th 2008, 21:19 SamuraiDio freebox, don't do relationship in database, let cake take care of it.
# Aug 7th 2008, 21:18 infantigniter SamuraiDio: as far as format goes they look fine
# Aug 7th 2008, 21:11 SamuraiDio i'm not asking if they will work, just if i'm using cakePHP guidelines. i got a bit confused with the validation rules of cakePHP 1.2
# Aug 7th 2008, 21:09 Jonah heya foos
# Aug 7th 2008, 21:09 zeeneo best to test them yourself :)
# Aug 7th 2008, 21:08 SamuraiDio are these validations tules ok? http://pastebin.com/f3bfc3d83
# Aug 7th 2008, 21:08 freebox /
# Aug 7th 2008, 21:08 freebox if i do a relationship with these tables the id for category go away
# Aug 7th 2008, 21:07 zeeneo i just use phpmyadmin or command line
# Aug 7th 2008, 21:07 freebox i have id in product table and id in category table
# Aug 7th 2008, 21:07 freebox i'm using db designer but its sucks beacause cake conventions
# Aug 7th 2008, 21:06 freebox what u guys are using to modeling the db?
# Aug 7th 2008, 21:05 infantigniter SamuraiDio: np
# Aug 7th 2008, 21:05 infantigniter SamuraiDio: put that in an array with a rule
# Aug 7th 2008, 21:05 SamuraiDio infantigniter, thanks
# Aug 7th 2008, 21:04 lqdice__ Found this that seems to work even w/o taking the security setting to medium.. i wonder if it will work for all clients though.. http://blogs.bigfish.tv/adam/2008/04/01/cakephp-12-sessions-and-swfupload/
# Aug 7th 2008, 21:04 infantigniter SamuraiDio: 'allowEmpty'=>false
# Aug 7th 2008, 21:03 markstory check $this->params['form']
# Aug 7th 2008, 21:02 SamuraiDio i was using this until now: 'first_name' => VALID_NOT_EMPTY,
# Aug 7th 2008, 21:02 markstory if its not in model[field] form.
# Aug 7th 2008, 21:02 zeeneo just debug($this->data);
# Aug 7th 2008, 21:02 SamuraiDio how do i validade a field just to do not be empty, with the new validation rules?
# Aug 7th 2008, 21:02 zeeneo $this->data['params']['url'] i think