⚠ 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

foreach($css_files as $file): not issues



jfkirkpatrick
  • profile picture
  • Member

Posted 21 December 2015 - 14:41 PM

I am walking thru the newbies and other turorials for CodeIgniter 3.0.3 and GroceryCrud 1.5.3 and have a couple of minor issues.

 

Under newbie, the foreach expands but unfortunately some of the files are not located or in the wrong directory.  For example,  the HTML code expands out to "grocerycrud/assets/grocery_crud/themes/flexigrid.css"  the flexigrid.css on my system is under .../themes/flexigrid/css/flexigrid.css".  images are also stored under this directory.

Under "Installation for CodeIgniter", the files do not expand at all in the example.php view.

Your suggestions will be appreciated.

John

PS:  I looked at Grocery CRUD over a year ago and now I am back.


jfkirkpatrick
  • profile picture
  • Member

Posted 21 December 2015 - 19:40 PM

Okay, so I have egg on my face!!

Took out the "small" changes that I made to the view files as I customarily add _model and _view to help identify files that have the same prefix like in example.php, example_model.php and example_view.php.

Now that i went back to "your code" it works beautifully.  If it ain't broke don't fix it--right!!

Sorry for the bother.

John