Gnunify 2016 | Open Source Contributions | Drupal | Purushotam

Preview:

Citation preview

Basic customisation and Contributions in Drupal

- Purushotam Kumar Rai

Agenda

‣ Open Source

‣ Drupal

‣ Contribution to the community

‣ Personal Experience

Open Source

‣ Development Model - Universal Access via Free License

‣ Of the People, By the people, For the people

3

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?

“ Come for the code, stay for the community

Tools aiding Open Source - Drupal

‣ GIT

‣ DRUSH

‣ Drupal Api Documentation

Ways to contribute:

Documentation

User Interface

TranslationDevelopment

Forum

PatchesIssues

Advantages

‣ Personal:-> Real Time Problem Solving & Feedback -> Become part of diverse Drupal Community

‣ Professional: -> Strong Profile -> Adherence to best practices -> Large Development Sphere

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.

Job Portal - Solution Approach

Searching for solution -> core -> contrib -> contrib (with partial solution) -> no solution ? Answer

Custom Module Development

Job Portal - Implementation

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

Implementing a hook - Job Portal

‣ Implementing hook_form_FORM_ID_alter().

Job Portal - Solved

Personal Experiences

‣ Recovery Password

Recovery Password

‣ Inspiration: Password Reset Mail should contain New Password

‣ Experience:First Module

Recovery Password

Thank You ! Questions?