Welcome Guest, Not a member yet? Register   Sign In
Dynamic CSS/JS Files Not Working
#11

[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
#12

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

*Keeps moving forward* Tongue




Theme © iAndrew 2016 - Forum software by © MyBB