Re: css

2011-01-13 Thread Roel
I had the same problem when running on wampserver. I forgot to set the rewrite_mod to on. Maybe this is also your problem? On 13 jan, 08:51, Spha ps wrote: > Hi all, > > I svn my code to a repo on svn but now the css is not bieng read the > 000-default file is set to allow all,i have the .htacc

Re: Retrieve data from view without form

2009-08-16 Thread Roel
then let the client send it back to the server unaltered. -Roel On Aug 16, 8:48 am, senser wrote: > Hello, > > I was wondering if there is a way to send some data (often > intermediate to large array) from view to controller action. > For example - I have an controller action th

Re: Routing /group/person/post instead of /post/id

2009-07-30 Thread Roel
-that-handles-all-levels', 'user' => null, 'post' => null)); or even: Router::connect('/*', array('controller' => 'controller1')); -> define in Controller1Controller: public function index($group = null, $user = null, $post = n

Re: get the controller from the named argument

2009-07-30 Thread Roel
ng like this: url: /subdomain/www/home routing: Router::connect('*/subdomain/:controller/:action/*'); Even if this works it will bring a whole lot of other problems. I don't know what benefit you expect from the chosen url setup, but you might want to reconsider. -Roel On 30 jul, 19

Re: Efficient ways to retrieve data from models with high association depth

2009-07-30 Thread Roel
relevant to me. -Roel On 30 jul, 21:40, AD7six wrote: > On Jul 30, 9:00 pm, Roel wrote: > > > > > > > I've tried Containable but it doesn't help lower the number of queries > > made. In fact in some circumstances Containable creates unnecessary > >

Re: Efficient ways to retrieve data from models with high association depth

2009-07-30 Thread Roel
expect from Cake, but it can potentially mean a lot of database quering. Option 2 on the other hand doesn't look as slick. It puts some logic in my controller I don't want there. The related data is split over 2 variables. But the number of queries is fixed. I'm just curious if this i

Efficient ways to retrieve data from models with high association depth

2009-07-30 Thread Roel
Hi, I'm using CakePHP for quite some time now and I really love it, but I hadn't come around to make use of the complex association possibilities for models. So I started to play around with them for a personal project I just started. Although the advantages Cake offers are numerous, I stumbled a