「index.phtml」という名前のZendレイアウトに「style.css」という名前のファイルを含めようとしています。私のフォルダツリーは次のとおりです。
laltroposto
|-public
| |-index.phtml
| |-css
| | !-style.css
| !-...
|-application
| |-layouts
| | !-scripts
| | !-index.phtml
| !...
!-library
!-...
これは、インクルードcssのコードです(ヘッドのタグに含まれています)。
<?php echo $this->headLink()->appendStylesheet('css/style.css'); ?>
私も試しました:
<?php echo $this->headLink()->appendStylesheet('/css/style.css'); ?>
これは私のエラーです:
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.laltroposto.com/js/jquery.js
手助け?