⚠ 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

[EXTRA] Categories and Depended SubCategories at Add and Edit Form.



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

Posted 17 March 2012 - 11:44 AM

There where many requests about depended categories and subcategories at add and edit form. An example of what I mean you can find it here: [attachment=73:categories-subcategories.png] .

A solution for this (as there where no solution before this) is the post below by [member='KaBaDaBrA'] . I think it will help lot of of people to add this custom feature to their projects as it is really easy. You don't need to modify the core of grocery CRUD, you just write some JavaScript and some easy methods in Codeigniter. For more you can view the post below:

http://www.grocerycr...indpost__p__817

Thanks Chris

KaBaDaBrA
  • profile picture
  • Member

Posted 17 March 2012 - 20:27 PM

Added some dynamic code for the view to help make implementation easier. For those who don't know jQuery that well this will help a lot!!

Online Step-by-step: http://demo.edynamics.co.za/grocery_crud/index.php/examples/customers_management/add

jcasanova
  • profile picture
  • Member

Posted 04 May 2012 - 23:31 PM

COOL!! thank kadabra!