Hack Session 2 ( building the drupal.org.hk / hkdug.info website )

Events happening in the community are now at Drupal community events on www.drupal.org.
caphun's picture
Start: 
2011-04-16 14:00 - 17:00 Asia/Hong_Kong
Organizers: 
Event type: 
User group meeting

Thanks to all who attended our last session and contributed some great ideas! We brainstormed and consolidated ideas from the HKDUG presentation to hone it down to the following tasks:

  1. Build a directory listing of drupal sites "Made in Hong Kong" as a simple showcase of the talent.
  2. Allow the public to submit their sites for display - we need submission guidelines and moderation rules (ideas please?)

In this session we'll be getting down to work on the above with some live coding! If you're interested to help in the effort or simply want to witness the making of this fantastic site then please do join us! :)

We will be gathering at the following address:

Gearbox Software Company and Business Centre
Rm 1205, 12/F, Max Trade Centre,
23 Luk Hop Street, San Po Kong, KLN

See Map

Closest MTR station is Diamond Hill MTR exit A2:

http://en.wikipedia.org/wiki/Diamond_Hill_Station

Comments

Summary

caphun's picture

Thanks to the 6 members who attended on saturday. We had a very productive 4 hours and the result can be seen at:

http://hkdug.info

The primary goal of our hack session was to demonstrate the power of drupal itself so this site was built with zero coding, no additional modules or themes.

Minutes:

  • install drupal 7 with a multi-site setup for flexibility
  • /admin/structure/types - add a content type called Site
  • in publish options - de-select publish as we want to moderate each site before publishing.
  • in Menu settings - de-select menu
  • /admin/people/permissions - allow anonymous users to add new "Site" content.
  • /admin/structure/taxonomy - add Taxonomy for Industry and Agency
  • /admin/structure/taxonomy/agencies/fields - add extra fields to Agency - logo (image), website (text)
  • /admin/structure/types/manage/site/fields - add extra fields to Site - industry (term reference), agency (term reference), screenshot (image), contact email (text)
  • /admin/structure/types/manage/site/display - customise display of full content and teaser
  • /admin/structure/block - add block for submission guidelines and set to only show in node/add/site

Known issues:

  • Anonymous users will get an access denied message after submitting a site. This is because they only have permissions to create a site but not view unpublished sites. To fix this we will need to create a custom hook to redirect to a thank you page. As custom hooks is an advanced feature of Drupal we will cover that in a future hack session.

Next steps:

  • Get a design - designers rise up!
  • Theme the site and customise structure according to design
  • Get more developer/agencies to submit their sites and make noise - any good marketeers out there?

Finally if you're interested on the internals of the site we have a dev version up at:

http://hkdugdev.prod.acquia-sites.com/
username: admin
password: test

Thanks!

DrupalHK

Group categories

HKDUG Vocabulary

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: