Welcome Guest, Not a member yet? Register   Sign In
Images, CSS, JS disappear on any controller, but home page
#3

[eluser]Zelf[/eluser]
It appears that I cannot use relative paths to images, css files, etc from other than the view loaded by the default controller or unless the controller calls the method index when the page loads. I don't get it.

e.g.

Code:
<link  href="http://localhost/mysite/global_assets/templates/default/css/body.css" rel="stylesheet" type="text/css" />
will load on any page, but if I change it to:

Code:
<link  href="global_assets/templates/default/css/body.css" rel="stylesheet" type="text/css" />
it will only load on the default controller index method or another controller's index method.

Anyone out there that can help me think through this?


Messages In This Thread
Images, CSS, JS disappear on any controller, but home page - by El Forum - 08-31-2010, 05:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB