DrupalCafe Kyiv CTools
-
Upload
yuriy-gerasimov -
Category
Technology
-
view
1.352 -
download
0
Transcript of DrupalCafe Kyiv CTools
CTools toolbox for developers
email: [email protected]: ygerasimovskype: yuriy_gerasimov
d.o.: http://drupal.org/user/257311
Agenda
Plugins
Object caching
Multistep forms
Exportables
Access rulesets
Javascripts of ctools
Make your module extendable by other modules
Have own system of hooks
Define your own plugins
hook_ctools_plugin_type()
Define your own type of plugin
Use task plugin
hook_menu
Use task plugin
Page callback
Implementation of task plugin
Implementation of task plugin
hello_world.inc
Implementation of task plugin
drupal_forever.inc
Use operation plugin
Form with two textfields and submit button. Following code in submit handler.
Implement operation plugin
Provide example implementation
Implement operation plugin
Implement operation plugin
Implement operation plugin
Object cache
Multistep forms
Multistep forms
Multistep forms
Ajax callbacks. Don't forget ctools wrapper
Autosubmit javascript
Dropdown javascript
Resources
ctools_ajax_sample module
http://www.slideshare.net/Digithoughts/ctools-presentation
CTools toolbox for developers
email: [email protected]: ygerasimovskype: yuriy_gerasimov
d.o.: http://drupal.org/user/257311