Asset helper? |
[eluser]danmontgomery[/eluser]
The other option is to use a <base> html tag at the top of <head>: Code: <base href="http://www.mydomain.com/"/> Anything linked to relatively then uses that <base> tag, so: Code: <link rel="stylesheet" href="assets/css/style.css"/> I generally just use: Code: <base href="<?php echo base_url();?>"/> |
Messages In This Thread |
Asset helper? - by El Forum - 08-20-2010, 11:14 AM
Asset helper? - by El Forum - 08-20-2010, 11:29 AM
Asset helper? - by El Forum - 08-20-2010, 12:41 PM
Asset helper? - by El Forum - 08-20-2010, 01:04 PM
Asset helper? - by El Forum - 08-20-2010, 08:44 PM
Asset helper? - by El Forum - 09-02-2010, 11:11 AM
Asset helper? - by El Forum - 09-02-2010, 07:02 PM
Asset helper? - by El Forum - 09-02-2010, 09:41 PM
|