Re: Html-image outputs path relative to index.php, doesn't work if the url is (localhost)/app/controller/action

2009-06-10 Thread Jasper
). The strange part is that all the things that I know of that can cause this kind of problem would also show themselves for your css and javascript. On Jun 9, 8:12 pm, Jasper jjwtim...@gmail.com wrote: I don't have the .htaccess file in my cake folder, but it isn't in the cake zip archive either

Re: Html-image outputs path relative to index.php, doesn't work if the url is (localhost)/app/controller/action

2009-06-09 Thread Jasper
how your install does its redirection. You should never have to use app in your urls. try using urls like localhost/controller/action What is your layout? localhost points to a folder containing cake, app, vendors, ... ? On Jun 8, 9:27 am, Jasper jjwtim...@gmail.com wrote: Hi

Html-image outputs path relative to index.php, doesn't work if the url is (localhost)/app/controller/action

2009-06-08 Thread Jasper
Hi, The Html-image helper in the layoutfile outputs an img tag with the path .\img\image.gif. The browser can only find it when I am only one level deep, i.e. http://localhost/app/controller;. When I add a trailing slash, the images are broken. And when I visit an action, like

treebehaviour moveup / movedown give error

2009-06-07 Thread Jasper
I use the code from the docs for moveup and movedown, but I looked up the code in the class file and I needed to modify the function call to include $model, and some other little adjustments: = function moveDown($id = null, $delta = null) { if