gnunify 2016 | open source contributions | drupal | purushotam
TRANSCRIPT
![Page 1: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/1.jpg)
Basic customisation and Contributions in Drupal
- Purushotam Kumar Rai
![Page 2: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/2.jpg)
Agenda
‣ Open Source
‣ Drupal
‣ Contribution to the community
‣ Personal Experience
![Page 3: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/3.jpg)
Open Source
‣ Development Model - Universal Access via Free License
‣ Of the People, By the people, For the people
3
![Page 4: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/4.jpg)
Drupal - Open Source - Why?
‣ Usage World Wide-> Back-end framework for at least 2.2% of all & 12% of top 1,00, 000 websites worldwide.
‣ Largest Open Source Community-> Even bigger than Linux
‣ Moving Ahead in right direction -> Why to waste time in reinventing the wheel… Lets invest our efforts to be one level up?
![Page 5: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/5.jpg)
“ Come for the code, stay for the community
![Page 6: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/6.jpg)
Tools aiding Open Source - Drupal
‣ GIT
‣ DRUSH
‣ Drupal Api Documentation
![Page 7: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/7.jpg)
Ways to contribute:
Documentation
User Interface
TranslationDevelopment
Forum
PatchesIssues
![Page 8: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/8.jpg)
Advantages
‣ Personal:-> Real Time Problem Solving & Feedback -> Become part of diverse Drupal Community
‣ Professional: -> Strong Profile -> Adherence to best practices -> Large Development Sphere
![Page 9: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/9.jpg)
![Page 10: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/10.jpg)
Job Portal - Scenario
- Problem ?To use single application form for all the jobs, there should be identification way for each submission. The first field should be set to the job-id, user is applying to by default.
![Page 11: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/11.jpg)
![Page 12: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/12.jpg)
Job Portal - Solution Approach
Searching for solution -> core -> contrib -> contrib (with partial solution) -> no solution ? Answer
Custom Module Development
![Page 13: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/13.jpg)
Job Portal - Implementation
‣ Module Development: -> job_form.info file -> job_form.module file
![Page 14: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/14.jpg)
Implementing a hook - Job Portal
‣ Implementing hook_form_FORM_ID_alter().
![Page 15: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/15.jpg)
![Page 16: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/16.jpg)
Job Portal - Solved
![Page 17: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/17.jpg)
Personal Experiences
‣ Recovery Password
![Page 18: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/18.jpg)
Recovery Password
‣ Inspiration: Password Reset Mail should contain New Password
‣ Experience:First Module
![Page 19: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/19.jpg)
Recovery Password
![Page 20: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f35a9e1a28ab50658b467d/html5/thumbnails/20.jpg)
Thank You ! Questions?