Zend Framework , Trouble with paths

tachauch

New Member
I'm doing my first zend application, following the official user's guide, I set up a standard zend application (with zend studio 9 and ZF 1.11) and I want to add images and CSS stylesheets to my .phtml pages. When I put the css files in "myApplicationName/public/css" everything works fine, but when I try to put them in another directory such as "myApplicationName/application/layouts/css", they don't get considered, what kind of paths should i use to link them to phtml pages?I've tried relative paths, things like :\[code\]<link rel="stylesheet" type="text/css" media="screen" href="http://stackoverflow.com/css/layout_look_like.css" />\[/code\]and also :\[code\]<link rel="stylesheet" type="text/css" media="screen" href="http://stackoverflow.com/application/layouts/css/layout_look_like.css" />\[/code\]but it doesn't seem to work,I've also tried paths with $this->baseUrl(), but \[code\]<?php echo $this->baseUrl();?>\[/code\] returns nothing.thanks for help.
 
Top