Re: How to "custom belongsto" in CakePHP 2?

2012-02-06 Thread Cristian Deluxe
I'm still trying but there's no luck : ( On 3 ene, 17:41, Cristian Deluxe wrote: > Thanks AD7six, i also tried it in my previous test but Cake never > render the page, it seems to make a loop and it fails with this error: > > Fatal error: Maximum execution time of 30 second

Re: How to "custom belongsto" in CakePHP 2?

2012-01-03 Thread Cristian Deluxe
;) WHERE 1 = 1 ORDER BY `Radpostauth`.`id` desc LIMIT 50' at line 1 So i don't know what to do now : ( Thanks for your help guys : ) On 3 ene, 12:19, AD7six wrote: > On Jan 3, 11:23 am, Cristian Deluxe > wrote: > > > Hey thanks

Re: How to "custom belongsto" in CakePHP 2?

2012-01-03 Thread Cristian Deluxe
Hey thanks : ) I've tried this but seems like CakePHP doesn't parse the condition correctly: var $belongsTo = array( 'Wdevice' => array( 'className' => 'Wdevice',

Re: How to "custom belongsto" in CakePHP 2?

2011-12-30 Thread Cristian Deluxe
Any way? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.c

How to "custom belongsto" in CakePHP 2?

2011-12-28 Thread Cristian Deluxe
HI i'm working with a external database (RADIUS) that follows the next structure: CREATE TABLE IF NOT EXISTS `radpostauth` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `pass` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '