⚠ 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

how to use?



Sergio
  • profile picture
  • Member

Posted 09 July 2017 - 18:40 PM

First of all, excuse my English.

Maybe I did not understand how to use it.
1 - I downloaded the library (enterprise - without composer)
2 - copied the folder to htdocs (xampp) renamed in 'gc'
3 - config.php file configured
3.1 - changed the name to 'libraries' in 'assets' and 'grocery-crud' in 'grocerycrud' (directory names do not match strings in code)
4 - entered database name, user name and password (in xampp is not set)
5 - In the example.php file, enter the name of the table and the labels

But the result is the attached image

What am I wrong?

 

Thanks


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

Posted 10 July 2017 - 12:21 PM

This is a common mistake when the assets_folder is not configured correctly.

If that happens then make sure that you have configured your configuration file correctly (config.php)
For example if your project is here: http://localhost/gc/

then make sure that at the config.php file the assets folder is:
http://localhost/gc/assets/grocery-crud/

For more also check the video tutorial here: https://www.youtube.com/watch?v=JPJPvGKWxtk

Please let me know if that worked for you

 

Thanks

Johnny


SergioBis
  • profile picture
  • Member

Posted 13 July 2017 - 06:57 AM

Hi Johnny

 

Yes it's true; I saw the html code (web page generated) and I saw the path (generated) has different from my folder structure.

 

Thanks!

 

 

[off topic]

The recovery password from forum not send me nothing mail, I subscribe with another Username/Mail

[/off topic]