⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

[solved] css / jss not found after mod_rewrite



ultramedia
  • profile picture
  • Member

Posted 26 April 2012 - 01:05 AM

Hi,

First post, so hello :)

I love the look of Grocery CRUD, but I'm stuck on trying to get it going in dijit in xampp on windows with mod rewrite set to remove the index.php part of the url.

I can get my dijit UI working in a view, and I can embed grocery crud into a container of the dijit layout. Problem is, somewhere in the grocery_crud - wherever it compiles the css and js links to go at the top of the grocery crud html - it adds index.php back into the url again resulting in a 404 for the css and js (now that I've turned it off with mod rewrite).

Here's a pic of what I've got so far:

[img]http://www.showmethatagain.com/posts/120426_110200.jpg[/img]

ultramedia
  • profile picture
  • Member

Posted 26 April 2012 - 01:18 AM

p.s. here is my line in the dijit layout html that connects to the grocery crud view:


<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: 'Course Conversions', href: 'http://localhost/codeigniter/test_grocery_crud'">


As you can see I am connecting without the index.php in the url, and it is loading it successfully (as the screenshot shows) so that's why I think it's something in the grocery crud library adding index.php in again.

Am I on the right track or pointing in the wrong direction?

ultramedia
  • profile picture
  • Member

Posted 26 April 2012 - 03:19 AM

Fixed! I just need to remove the index.php from base_url in codeigniters config