For a while it was difficult to use file uploads in Agile Toolkit. Finally a proper implementation of the control is ready.file upload, jquery ui
I receive a lot of questions about how to reload page with Agile Toolkit in certain conditions. There are many approaches and I wanted to write a blog post just about that.
Let’s say you want user to be able and select multiple elements in a grid. This can’t be done directly, because grid is supposed to list elements, it shouldn’t be built to intact with it. However grid can be extended and joined with the functionality of the Form to do what’s required.
You can see a working example here: http://atk4.agiletech.ie/grid/selectable.htmlform, grid, jquery ui
With the migration to jQuery (UI) we have received lot of new fancy functionality, but some of the old things stopped worked too. However old stuff is fixable, and if there is anything – please let me know by commenting and I’ll give it a fix.
This tip explains how you can add buttons to the grid. You can see working demo here:grid, jquery ui
jQuery UI have a good support for dialogs and windows. Agile Toolkit 4 takes it to the next level. Most importantly it manages to create contents of the boxes on the fly. Let’s review what we have.
If you are getting this problem, this is because button() is a part of jQuery UI 1.8. By default 1.7 is still used. Since 1.8 stable is being released we will switch over shortly, but for now here is the fix. Put this into your config.php to manually change version of jquery / jquery ui:
jquery, jquery ui$config['js']['versions']['jquery']='1.4.2.min'; $config['js']['versions']['jqueryui']='1.8.custom.min';