I'm just wondering what is the best way to create new field type.
I would like to add new "relation" type and I want to replace standard select field with something different - whole code is in "libraries/grocery_crud.php" - it can't be extended without modifying source code?
New field types
Started by slav123, 14 February 2012 - 23:53 PM
- Single Page
Posted 14 February 2012 - 23:53 PM
Posted 15 February 2012 - 22:29 PM
You can create a MY_grocery_crud that extends the core grocery CRUD. An example of a similar thing (that extends grocery_Model) you can find at: http://www.grocerycr...ample-included/ . The same thing you can do it for grocery_CRUD library