20
Basic customisation and Contributions in Drupal - Purushotam Kumar Rai

Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Embed Size (px)

Citation preview

Page 1: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Basic customisation and Contributions in Drupal

- Purushotam Kumar Rai

Page 2: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Agenda

‣ Open Source

‣ Drupal

‣ Contribution to the community

‣ Personal Experience

Page 3: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

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

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

“ Come for the code, stay for the community

Page 6: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Tools aiding Open Source - Drupal

‣ GIT

‣ DRUSH

‣ Drupal Api Documentation

Page 7: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Ways to contribute:

Documentation

User Interface

TranslationDevelopment

Forum

PatchesIssues

Page 8: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

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
Page 10: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

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
Page 12: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

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

Job Portal - Implementation

‣ Module Development: -> job_form.info file -> job_form.module file

Page 14: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Implementing a hook - Job Portal

‣ Implementing hook_form_FORM_ID_alter().

Page 15: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam
Page 16: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Job Portal - Solved

Page 17: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Personal Experiences

‣ Recovery Password

Page 18: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Recovery Password

‣ Inspiration: Password Reset Mail should contain New Password

‣ Experience:First Module

Page 19: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Recovery Password

Page 20: Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Thank You ! Questions?