why do I have to link the CSS for all actions other than index?

I'm using a layout and a global CSS for the entire site. This CSS is
included in the global.

Do I have to include CSS in every action?

That doesn't seem right.

What about images? Those have nothing to do with CSS?



On Jun 28, 8:56 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> How are you linking the css? are you using the HtmlHelper?
>
> On Sat, Jun 28, 2008 at 6:13 AM, dlite922 <[EMAIL PROTECTED]> wrote:
>
> > when I access an action (even the index action) the CSS and Images
> > don't display.
>
> > THis is on a WAMP (XP, Apache 2.2, PHP and MySQL 5.5)
>
> > Mod Rewrite is on?
>
> > I'm using virtual host.
>
> > I've explicitly created a directory tag to the problem directory in
> > Apache Vhost.conf and added AllowOverride All to it.
>
> > but still same problem.
>
> > A dir structure is not changed.
>
> > I'm not using models as its all statis by saying $uses = array() at
> > the top.
>
> > The pages display fine, I just can't access any actions. /controller
> > works but /controller/index or /controller/myAction does not display
> > any CSS
>
> > Help!!
>
> > Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to