define('DEBUG', 0) problem

2007-08-11 Thread Ruud Gâst
Greetings! I was developing a site using the development debug mode (1). Then I was finished, hooray! and I put it live and set the debug value to production mode (0). The strange thing is that my site now is immensly slow and if it loads at all, the styles don't... If i set the debug mode back

Re: Model associations problem

2007-08-06 Thread Ruud Gâst
No-one has an answer? I'd say a lot of people use the same construction so it won't be that hard ... I just don't know how. On Aug 6, 3:01 am, Ruud Gâst [EMAIL PROTECTED] wrote: Hello there, I've got a simple construction of two models: users and familymembers; every user belongs

Model associations problem

2007-08-05 Thread Ruud Gâst
Hello there, I've got a simple construction of two models: users and familymembers; every user belongs to a familymember and a familymember has one user. So the database looks like this: `familymembers` ( `id` int(11) auto_increment, `firstname` varchar(20), `lastname` varchar(100),

Using AJAX to fill a div at page onload.

2007-07-21 Thread Ruud Gâst
Goodday everyone, I've got the following controllers and views: /posts/index /posts/view/[postid] /pictures/picturepreview/[photobookid] /pictures/pictures/[photobookid] Now in the /posts/index and /posts/view/[postid] views I've got the following div: ... div class=pictures id=pictures?=

multiple fields in $displayField.

2007-05-23 Thread Ruud Gâst
Hello there, I've been trying to fill a SELECT-tag by using the generateList function, this works great! Although I want to fill it with multiple fields from the table, eg. firstname . ' ' . lastname. How can I pull this off? Greets Ruud --~--~-~--~~~---~--~~