⚠ 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

Installing Grocery CRUD



fake_name_2
  • profile picture
  • Member

Posted 22 May 2012 - 22:01 PM

Hi,
I am brand new to codeigniter, and trying to install grocery CRUD. I have installed CI and pasted groceryCRUD files in the same folder, but not sure what to do after this point.
How do I make views etc., or check that groceryCRUD is working ?

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 22 May 2012 - 22:22 PM

[quote name='fake_name_2' timestamp='1337724099' post='1913']
Hi,
I am brand new to codeigniter, and trying to install grocery CRUD. I have installed CI and pasted groceryCRUD files in the same folder, but not sure what to do after this point.
How do I make views etc., or check that groceryCRUD is working ?
[/quote]

[member='fake_name_2'] I have a full tutorial for totally new people at codeigniter framework you can check it here: http://www.grocerycrud.com/documentation/create-crud-codeigniter-tutorial

fake_name_2
  • profile picture
  • Member

Posted 22 May 2012 - 22:26 PM

Thanks web-johnny. I am going through the document now. Will post again if get stuck, or when finish ;-)

fake_name_2
  • profile picture
  • Member

Posted 22 May 2012 - 22:37 PM

Okay,
One question. Where do I download files like flexigrid.php, foreign_chars.php etc which are not a part of either CI and GC, and which version?
Thanks

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 22 May 2012 - 22:40 PM

You don't need to download any other files. Everything is included in the folder assets so you don't care about this or any JS or CSS file. Just make sure that you copy ALL the files and folders to your project and it will be fine. When you finished your structure will be something like this:


website_folder/
–––– application/
–––––––– config/
–––––––––––– autoload.php
–––––––––––– ...
–––––––––––– datatables.php
–––––––––––– doctypes.php
–––––––––––– flexigrid.php
–––––––––––– foreign_chars.php
–––––––––––– grocery_crud.php
–––––––––––– ...
–––––––– controllers/
–––––––––––– examples.php
–––––––––––– index.html
–––––––––––– welcome.php
–––––––– libraries/
–––––––––––– grocery_crud.php
–––––––––––– index.html
–––––––– models/
–––––––––––– grocery_crud_model.php
–––––––––––– index.html
–––––––– views/
–––––––––––– example.php
–––––––––––– index.html
–––––––––––– welcome_message.php
–––– assets/
–––––––– grocery_crud/
–––––––––––– css/
–––––––––––– js/
–––––––––––– texteditor/
–––––––––––– themes/
–––––––– uploads/
–––––––– index.html
–––– system/
–––– user_guide/
–––– change_log.txt
–––– example_database.sql
–––– index.php
–––– licence-grocery-crud.txt
–––– license.txt


for more you can also check http://www.grocerycr...er_installation

fake_name_2
  • profile picture
  • Member

Posted 22 May 2012 - 22:42 PM

Well, everything worked. Thanks a lot.
I'll need to study it now.

Thanks for your help and GC and great tutorial :-)