Slideshare.net (beta)

 
Post to TwitterPost to Twitter
Post: 
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons

All comments

Add a comment on Slide 1

If you have a SlideShare account, login to comment; else you can comment as a guest


Showing 1-50 of 0 (more)

Build Drupal Camp Shanghai with Drupal6

From hunvreus, 4 months ago

651 views  |  0 comments  |  0 favorites  |  8 downloads
 

Categories

Add Category
 
 
 
 

Groups / Events

 

 
Embed
options

More Info

This slideshow is Public
Total Views: 651
on Slideshare: 651
from embeds: 0

Slideshow transcript

Slide 1: CODE MY WEBSITE WITH DRUPAL 6 Makara Wang

Slide 2: Code my Drupal 6 site What’s in this session Setup a basic website with Drupal 6 Build some custom modules Discussion

Slide 3: Code my Drupal 6 site Why Drupal 6

Slide 4: Code my Drupal 6 site Why Code Extensible Version control ...

Slide 5: SETUP DRUPAL 6

Slide 6: Code my Drupal 6 site Setup a clean Drupal 6 Your directory, database... Install Play with modules Setup Profile RSVP, Organization, URL

Slide 7: BUILD MY MODULES

Slide 8: Code my Drupal 6 site Requirements Content types Session, Sponsor Pages / Blocks Session list, Sponsor list, Attendee list Random sponsor logo

Slide 9: Code my Drupal 6 site Contributed Modules Must have Devel Recommend BUEditor

Slide 10: Code my Drupal 6 site Coding Guidelines Keep simple Always find examples Core, Handbook... Use existing functions & hooks Read Documents

Slide 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

Slide 12: Code my Drupal 6 site Build a Content Type “Session” Subject, Description, Presenter Implement hooks Display (theme) your fields (nodes)

Slide 13: Code my Drupal 6 site Another type “Sponsor” Name, Description, URL, Logo URL hook_validate, valid_url Logo Img module; Image functions later

Slide 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

Slide 15: Code my Drupal 6 site Another page Sponsors list Theme sponsor logo Dealing with images image.inc

Slide 16: Code my Drupal 6 site Site support module A specific module for one site Best practice Attendees list - using profile names

Slide 17: Code my Drupal 6 site What else I18n ...

Slide 18: Code my Drupal 6 site Conclusion of coding Drupal as framework

Slide 19: DISCUSSION

Slide 20: THANK YOU Makara Wang