CodeIgniter Forums
Dynamic CSS/JS Files Not Working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Dynamic CSS/JS Files Not Working (/showthread.php?tid=10305)

Pages: 1 2


Dynamic CSS/JS Files Not Working - El Forum - 07-30-2008

[eluser]Randy Casburn[/eluser]
Right ..odd indeed. Forgive me because I just cannot see beyond my blinders on this one issue:

Quote: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.

While you have this in your code...

Code:
$StoreSlug = (isset($_GET['slug'])) ? $_GET['slug'] : NULL;
and..
if($StoreInfo && isset($_GET['i'])
and...
$this->load->view($Theme->Name.'/js/'.$_GET['i']);

And your .htaccess file is rewriting your urls into query strings.

I understand why you don't want to expose your customers to query strings. But I'm still very convinced the inconsistent use of urls in various places within your application is likely a cause of your heart ache. I believe your application is writing/rewriting/resolving/creating URLs inconsistently and is likely doing it incorrectly in some spots and not others. I'm not convinced it is necessarily focused on the Segmented vs. Query string thing since there is so much complexity I've never seen.

I'm likely wrong too. Without a lot more understanding of your app I'm at a loss too.

Sorry I can't help any more than I have.

Randy


Dynamic CSS/JS Files Not Working - El Forum - 07-30-2008

[eluser]Bluemill Media[/eluser]
Hey, no problem Randy Smile I appreciate your taking time out thus far.

*Keeps moving forward* Tongue