Images, CSS, JS disappear on any controller, but home page

#5
[eluser]Zelf[/eluser]
[Solved]

[quote author="intractve" date="1283322761"]if you use this (in your view):

Code:
<link  href="<?=base_url()?>global_assets/templates/default/css/body.css" rel="stylesheet" type="text/css" />

your problem should be solved.
[/quote]
Thanks. After some tinkering I figured this out. I used site_url(). However, I did not have the explanation of why it worked until now. Makes perfect sense now.


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.