• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic CSS/JS Files Not Working

#10
[eluser]Bluemill Media[/eluser]
This does not work: <link href="/shop/{$StoreInfo.Slug}/styles/main.css" rel="stylesheet" type="text/css" />

This does work: <link href="/system/app-shop/Red/styles/main.css" rel="stylesheet" type="text/css" />

(Please note that {$StoreInfo.Slug} outputs as the name of the user, e.g. 'lorren'.

Regarding the query based URL, I've tried that during debugging and it didn't give me a solution. Also, keep in mind that these URLs are going to be used by store owners/template designers, so the URLs need to be pretty and user-friendly.

Also, it's important to note that in using the developer toolbar I can 'CSS > View CSS' and it takes me directly to the stylesheet with all styles displayed, but they're just not being applied. Simplified: I'm pointing to the correct file with every URL type...the browser just isn't reading the styles in the file through...to make matters even more odd, Firebug reports the pages as 404s in the NET panel...

I'm at a total loss.


Messages In This Thread
Dynamic CSS/JS Files Not Working - by El Forum - 07-25-2008, 10:42 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 07:39 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 08:55 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:06 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:37 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-28-2008, 09:45 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-29-2008, 12:01 AM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 05:58 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 06:55 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 09:12 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 10:14 PM
Dynamic CSS/JS Files Not Working - by El Forum - 07-30-2008, 10:20 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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