PHP 6 and cakePHP?

2008-11-10 Thread Yodiaditya
I have heard about PHP 6 from my friend a few hours ago. He told me that PHP 6 have much updates and significant change rather than before. Seems it will be make new problem since PHP 6 maybe have big different syntax. So, I think again, if new PHP 6 have big difference, it's possible kill

Ajax Upload Using Prototype in CakePHP

2008-10-28 Thread Yodiaditya
i'm just asking, there are somebody made ajax upload using prototype in cakePHP? i'm confusing about iframe in ajax upload, especially in CakePHP. i see somebody post that http://tomas.epineer.se have good example using prototype in Ajax Upload. But, that site get down right now. Perhaps

Re: cakeapp.com

2008-10-20 Thread Yodiaditya
I have see your cakeapp.com, nice with color selector. regards yodiaditya On 10/20/08, powtac [EMAIL PROTECTED] wrote: I just started to build a WYSIWYG cake application builder: http://cakeapp.com. Here you find a screencast how it works: http://cakeapp.com/pages/screencast/ If you want

Re: Saving HABTM data with checkboxes

2008-10-15 Thread Yodiaditya
/')); ? ... ?php echo $form-end('Save');? on Post Controller : function add() { $this-set('tags', $this-Post-Tag-find('list')); if(!empty($this-data)) { $this-Post-save($this-data); } } Regards, Yodiaditya - http://re.web.id On 10/14/08, cem [EMAIL PROTECTED] wrote: Hi ; In my

Re: HABTM and form-input

2008-10-15 Thread Yodiaditya
('divisions', $this-Manufacture-Division-find('list')); Regards, Yodiaditya http://re.web.id On 10/15/08, Todd McGrath [EMAIL PROTECTED] wrote: Hi, I've been reading docs and searching list, but can't find an answer... I have a multiple select form input where I want to change the option

Re: Validation for HABTM association

2008-10-15 Thread Yodiaditya
You need to send validation from Product to Users using session. the logic is : Users - submit form to Product - Product function ( write session ) - User check session - Read session - show validation On 10/16/08, bookme [EMAIL PROTECTED] wrote: Hi, I tried for a solution for my below

Re: Multiple HABTMs

2008-10-09 Thread Yodiaditya
You can use HasMany and BelongsTo : OS hasMany requirements (on model OS) browsers hasMany requirements (on model browsers ) requirements belongsTo OS, browsers (on model requirements) check on manual.cakephp.org about explanation using association hasMany and belongsTo On 10/9/08, Ralle

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-06 Thread Yodiaditya
I'm agree with you nate. Actually, i never using testing cause don't know how to use it. But, in another cases, testing is needed not only for test your sweet cake before product it. But also give us test the cake for bugs... On 10/7/08, Nate [EMAIL PROTECTED] wrote: The tweet was just me

Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-02 Thread Yodiaditya
the bootstrap process is over 10x faster than RC2, and basic requests for static content are now about 5x faster overall Great! Hope Rasmus Lerdorf hear that :D On 10/2/08, Nate [EMAIL PROTECTED] wrote: It's finally here: the final release before the final release of CakePHP 1.2, and I just

Problem using SaveAll() don't saving related model

2008-10-01 Thread Yodiaditya
Hello, I have two models : Account - hasOne - Company Company - belongsTo - Account. on /app/models/account.php class Account extends AppModel { var $name = 'Account';. var $hasOne = array('Company'); } on /app/models/company.php === class

Re: Problem using SaveAll() don't saving related model

2008-10-01 Thread Yodiaditya
Sorry, all work's perfect... My faults...This code is right.. Hope this help somebody that want saving related data HasOne On 10/2/08, Yodiaditya [EMAIL PROTECTED] wrote: Hello, I have two models : Account - hasOne - Company Company - belongsTo - Account. on /app/models/account.php