Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Yet Another Hours Module

milsyobtaf
February 19, 2014

Yet Another Hours Module

A primer in community focused development.

Presented at the UT Austin Drupal Users Group.

milsyobtaf

February 19, 2014
Tweet

More Decks by milsyobtaf

Other Decks in Technology

Transcript

  1. YET ANOTHER HOURS YET ANOTHER HOURS MODULE MODULE A PRIMER

    IN COMMUNITY FOCUSED DEVELOPMENT A PRIMER IN COMMUNITY FOCUSED DEVELOPMENT
  2. THE PROBLEM THE PROBLEM WE NEEDED A CENTRALIZED HOURS INTER‐

    WE NEEDED A CENTRALIZED HOURS INTER‐ FACE FACE
  3. THE SOLUTION THE SOLUTION FIND A DRUPAL MODULE TO ACT

    AS A CEN‐ FIND A DRUPAL MODULE TO ACT AS A CEN‐ TRAL HOURS REPOSITORY TRAL HOURS REPOSITORY
  4. THE COMPLICATION(S) THE COMPLICATION(S) Content editing needs to be centralized

    Display needs to be distributed (Drupal and non-Drupal) Display also needs to be mobile friendly Needs some wow factor for stakeholder buy-in
  5. THE COMPLICATION(S) THE COMPLICATION(S) THERE ARE A NUMBER OF MODULES

    THAT ARE THERE ARE A NUMBER OF MODULES THAT ARE ALMOST ALMOST PERFECT PERFECT http://drupal.org/project/office_hours http://drupal.org/project/opening_hours
  6. SO I GOT TO WORK SO I GOT TO WORK

    ~/Sites/d6/sites/all/modules$ git log Thu Dec 20 16:52:19 2012 -0600 3539d33 finished basic styling, moved css styling into libhours.css [Dustin Younse] Thu Dec 20 16:16:55 2012 -0600 d47e61e added logic to create new Now Open page with basic css styling [Dustin Younse] Wed Dec 19 18:39:06 2012 -0600 0465148 unnecessary file [Dustin Younse] Wed Dec 19 18:38:34 2012 -0600 c90ad3c added hooks to enable new Now Open page, although the .module and tpl.php files still n Wed Dec 19 18:37:41 2012 -0600 ef80c34 added template file for new Now Op en page [Dustin Younse] Wed Dec 19 16:18:08 2012 -0600 456ce38 added new file for a now open page [Dustin Younse] Wed Dec 19 16:03:28 2012 -0600 72b39cc reduced font size for printing to keep it on one page [Dustin Younse] Wed Dec 19 15:52:52 2012 -0600 1b5e0d5 testing, still not working quite r ight [Dustin Younse] Wed Dec 19 15:52:36 2012 -0600 070a06f modified output of disclaimer text [Dustin Younse]
  7. CONTRIBUTING BACK! CONTRIBUTING BACK! ONE-OFF CODE IS EASY ONE-OFF CODE

    IS EASY RE-USABLE CODE IS RE-USABLE CODE IS HARD(ER) HARD(ER)
  8. WHERE TO FIND ME WHERE TO FIND ME HTTPS://GITHUB.COM/MILSYOBTAF HTTPS://GITHUB.COM/MILSYOBTAF

    HTTPS://GITHUB.COM/MILSYOBTAF HTTPS://GITHUB.COM/MILSYOBTAF
  9. WHERE TO FIND US WHERE TO FIND US HTTPS://GITHUB.COM/THELIBRATORY HTTPS://GITHUB.COM/THELIBRATORY

    HTTPS://GITHUB.COM/THELIBRATORY HTTPS://GITHUB.COM/THELIBRATORY HTTP://BLOGS.LIB.UTEXAS.EDU/TIS/ HTTP://BLOGS.LIB.UTEXAS.EDU/TIS/ HTTP://BLOGS.LIB.UTEXAS.EDU/TIS/ HTTP://BLOGS.LIB.UTEXAS.EDU/TIS/