Your SlideShare is downloading. ×
Build Drupal Camp Shanghai with Drupal6
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Build Drupal Camp Shanghai with Drupal6

3,200
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,200
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
44
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CODE MY WEBSITE WITH DRUPAL 6 Makara Wang
  • 2. Code my Drupal 6 site What’s in this session Setup a basic website with Drupal 6 Build some custom modules Discussion
  • 3. Code my Drupal 6 site Why Drupal 6
  • 4. Code my Drupal 6 site Why Code Extensible Version control ...
  • 5. SETUP DRUPAL 6
  • 6. Code my Drupal 6 site Setup a clean Drupal 6 Your directory, database... Install Play with modules Setup Profile RSVP, Organization, URL
  • 7. BUILD MY MODULES
  • 8. Code my Drupal 6 site Requirements Content types Session, Sponsor Pages / Blocks Session list, Sponsor list, Attendee list Random sponsor logo
  • 9. Code my Drupal 6 site Contributed Modules Must have Devel Recommend BUEditor
  • 10. Code my Drupal 6 site Coding Guidelines Keep simple Always find examples Core, Handbook... Use existing functions & hooks Read Documents
  • 11. Code my Drupal 6 site Documentations Module developer's guide 6.x http://drupal.org/node/231276 http://api.drupal.org http://api.drupal.org/api/file/developer/ examples/node_example.module/6
  • 12. Code my Drupal 6 site Build a Content Type “Session” Subject, Description, Presenter Implement hooks Display (theme) your fields (nodes)
  • 13. Code my Drupal 6 site Another type “Sponsor” Name, Description, URL, Logo URL hook_validate, valid_url Logo Img module; Image functions later
  • 14. Code my Drupal 6 site Build pages & blocks Sessions list page & block hook_menu, hook_block Query, Table, Pager Sessions admin page (form) drupal_get_form system_settings_form
  • 15. Code my Drupal 6 site Another page Sponsors list Theme sponsor logo Dealing with images image.inc
  • 16. Code my Drupal 6 site Site support module A specific module for one site Best practice Attendees list - using profile names
  • 17. Code my Drupal 6 site What else I18n ...
  • 18. Code my Drupal 6 site Conclusion of coding Drupal as framework
  • 19. DISCUSSION
  • 20. THANK YOU Makara Wang