DrupalCafe Kyiv CTools

1,346 views

Published on

Drupal 7 CTools -- toolbox for developers.

Published in: Technology, Art & Photos
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,346
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

DrupalCafe Kyiv CTools

  1. 1. CTools – toolbox for developers <ul>email: [email_address] twitter: ygerasimov skype: yuriy_gerasimov </ul>d.o.: http://drupal.org/user/257311
  2. 2. Agenda <ul><li>Plugins
  3. 3. Object caching
  4. 4. Multistep forms
  5. 5. Exportables
  6. 6. Access rulesets
  7. 7. Javascripts of ctools </li></ul>
  8. 8. Make your module extendable by other modules <ul><li>Have own system of hooks
  9. 9. Define your own plugins </li></ul>
  10. 10. hook_ctools_plugin_type() <ul><li>Define your own type of plugin </li></ul>
  11. 11. Use task plugin <ul><li>hook_menu </li></ul>
  12. 12. Use task plugin <ul><li>Page callback </li></ul>
  13. 13. Implementation of task plugin
  14. 14. Implementation of task plugin <ul><li>hello_world.inc </li></ul>
  15. 15. Implementation of task plugin <ul><li>drupal_forever.inc </li></ul>
  16. 16. Use operation plugin <ul><li>Form with two textfields and submit button. Following code in submit handler. </li></ul>
  17. 17. Implement operation plugin <ul><li>Provide example implementation </li></ul>
  18. 18. Implement operation plugin
  19. 19. Implement operation plugin
  20. 20. Implement operation plugin
  21. 21. Object cache
  22. 22. Multistep forms
  23. 23. Multistep forms
  24. 24. Multistep forms <ul><li>Ajax callbacks. Don't forget ctools wrapper </li></ul>
  25. 25. Autosubmit javascript
  26. 26. Dropdown javascript
  27. 27. Resources <ul><li>ctools_ajax_sample module
  28. 28. http://www.slideshare.net/Digithoughts/ctools-presentation </li></ul>
  29. 29. CTools – toolbox for developers <ul>email: [email_address] twitter: ygerasimov skype: yuriy_gerasimov </ul>d.o.: http://drupal.org/user/257311

×