New Tutorial: Extending JTaby - Creating new Form Elements |
[eluser]Majd Taby[/eluser]
Hey guys, I just created a new tutorial (inspired by a discussion on #codeigniter on irc.freenode.net). I created a new form element based on the DropDown element, which uses data from another table. This way, if you have a relational DB, you can pull data from multiple tables. Watch the video Again, please excuse the initial wait, all the video sites aren't good for code tutorials. If you don't know what I'm talking about, checkout JTaby in this post and give it a try Here's the code that we create in the tutorial: Add somewhere in backend/libraries/jtabyforms.php Code: class DbDropDown extends DropDown{ And the updated advanced_form.yml definition: backend/definitions/advanced_form.yml Code: name:
[eluser]CI Lee[/eluser]
Hey Zaatar... again looks great. As for the videos.. if you wanna host them on my server (Media Temple) I am more than willing to set up a sub domain for you. -Lee |
Welcome Guest, Not a member yet? Register Sign In |