SlideShare a Scribd company logo
THIS IS : SAYED AHMED
SOFTWARE/WEB/MOBILE ARCHITECT/ENGINEER/DEVELOPER, TORONTO, CANADA
HTTP://SAYED.JUSTETC.NET
Welcome this is a video on
Module Development for Drupal 7
TOPICS
 Step by step module development
 Show a simple module
 Develop that module step by step
 Let’s see the module to develop..
 The module shows current posts in a block...
 The module placed at footer showing current
posts....
 Changed the position to header, so we will
see current posts at the header....
 Now how does the structure looks...
 ---a module file -> you can divide it into
multiple files i.e this file can use other files..--
-module file defines the functionality of your
module
 ---an information file
 -----both inside a folder
 -----the folder name is the module name
 Anyway..there are couple of
methods/functions...
 One method to show a help link inside
module administration
 Another method to define the block for this
module – the current posts are shown in a
block and we can place the block anywhere
from structure -> block from within Drupal
 Inside .module file
 Another method to pull the recent posts
 ---get current time, send Query to Drupal and fetch posts,
and then render posts....
 Uses a hook for sure to render....
 current_posts_block_view displays the posts
 All methods starts with the module name
 The module is placed under /sites/all/modules/ -
> this is where the custom modules reside...not
the core modules...
 Now let’s create it....
 Let’s create the module file as well
 Now create the help link in the admin
section...
 Now enable block ... Create a block so that
we can see it in the structure section..
 Use a block related hook...
 Now empty....
 Will work on adding contents to the block...
 Module names has to be unique usually...the
module method names has to be unique as
well...you can hack...but that is not the
standard
 Nothing at the footer...
 So the new module worked..
 Have fun..
 Now rest is knowing the hooks -> where and
when to inject content or functionality..
 And also rest is PHP and your basic
programming skills...
 The rest is not Drupal that much....
 Any concerns...
 http://ask.justetc.net
 Bye Bye...

More Related Content

PPT
Elements of game play
PPTX
Creating modules in_drupal
PPTX
Security in laravel
PPTX
System analysis and_design
PPT
Games andvideogames
PPTX
Some skills required to be a computer hardware engineer professional
PPTX
Course curriculam
PPT
1.1 history of video games
Elements of game play
Creating modules in_drupal
Security in laravel
System analysis and_design
Games andvideogames
Some skills required to be a computer hardware engineer professional
Course curriculam
1.1 history of video games

Viewers also liked (11)

PPT
3.4 game architecture
PPTX
It and ict-bangladesh_world
PPTX
Data ware dimension design
PPTX
English database management_system
PPT
Introduction to game_design
PPTX
7zip intro
PPTX
Introduction to html 5
PPTX
Unit tests in_symfony
PPTX
Project management pmi_approach_pmp
PPTX
Seo google webmaster_tools
PPTX
Extended english first_chapter_computer_and_history_of_computer
3.4 game architecture
It and ict-bangladesh_world
Data ware dimension design
English database management_system
Introduction to game_design
7zip intro
Introduction to html 5
Unit tests in_symfony
Project management pmi_approach_pmp
Seo google webmaster_tools
Extended english first_chapter_computer_and_history_of_computer
Ad

Similar to Developing a drupal module (20)

PPTX
Introduction And Basics of Modules in Drupal 7
ODP
Intro to drupal module internals asheville
PPT
upload_test_2
PDF
Intro to Drupal Module Developement
DOCX
Drupal module development training delhi
PPTX
How to Build a Module in Odoo 15 Scaffold Method
PPT
Drupal Modules
PDF
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
PPTX
Joomla Templates101
ODP
Custom module and theme development in Drupal7
PPT
Architecture of Drupal - Drupal Camp
PPTX
Moodle 3 Updates
PDF
Your first d8 module
PDF
Using Moodle 2.2 in College (case study)
PPT
Plug in Moogle
PPT
Drush. Why should it be used?
PDF
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
PPTX
Drupal For Dummies
PPTX
Top 20 mistakes you will make on your 1st Drupal project
PPTX
Drupal module development
Introduction And Basics of Modules in Drupal 7
Intro to drupal module internals asheville
upload_test_2
Intro to Drupal Module Developement
Drupal module development training delhi
How to Build a Module in Odoo 15 Scaffold Method
Drupal Modules
Sergei Stryukov.Drush.Why it should be used.DrupalCamp Kyiv 2011
Joomla Templates101
Custom module and theme development in Drupal7
Architecture of Drupal - Drupal Camp
Moodle 3 Updates
Your first d8 module
Using Moodle 2.2 in College (case study)
Plug in Moogle
Drush. Why should it be used?
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending Drupal
Drupal For Dummies
Top 20 mistakes you will make on your 1st Drupal project
Drupal module development
Ad

More from Sayed Ahmed (20)

PDF
Workplace, Data Analytics, and Ethics
PPTX
Python py charm anaconda jupyter installation and basic commands
PPTX
[not edited] Demo on mobile app development using ionic framework
PPTX
Sap hana-ide-overview-nodev
PPTX
Invest wisely
PPTX
Will be an introduction to
PPTX
Whm and cpanel overview hosting control panel overview
PPTX
Web application development using zend framework
PPTX
Web design and_html_part_3
PPTX
Web design and_html_part_2
PPTX
Web design and_html
PPTX
Visual studio ide shortcuts
PPTX
Virtualization
PPT
User interfaces
PPT
Unreal
PPTX
Telerik this is sayed
PPTX
Symfony 2
PPT
Story telling and_narrative
PPTX
Simple demonstration on
PPT
Server side programming
Workplace, Data Analytics, and Ethics
Python py charm anaconda jupyter installation and basic commands
[not edited] Demo on mobile app development using ionic framework
Sap hana-ide-overview-nodev
Invest wisely
Will be an introduction to
Whm and cpanel overview hosting control panel overview
Web application development using zend framework
Web design and_html_part_3
Web design and_html_part_2
Web design and_html
Visual studio ide shortcuts
Virtualization
User interfaces
Unreal
Telerik this is sayed
Symfony 2
Story telling and_narrative
Simple demonstration on
Server side programming

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Machine Learning_overview_presentation.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
A comparative analysis of optical character recognition models for extracting...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Machine Learning_overview_presentation.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools

Developing a drupal module

  • 1. THIS IS : SAYED AHMED SOFTWARE/WEB/MOBILE ARCHITECT/ENGINEER/DEVELOPER, TORONTO, CANADA HTTP://SAYED.JUSTETC.NET Welcome this is a video on Module Development for Drupal 7
  • 2. TOPICS  Step by step module development  Show a simple module  Develop that module step by step
  • 3.  Let’s see the module to develop..  The module shows current posts in a block...  The module placed at footer showing current posts....  Changed the position to header, so we will see current posts at the header....
  • 4.  Now how does the structure looks...  ---a module file -> you can divide it into multiple files i.e this file can use other files..-- -module file defines the functionality of your module  ---an information file  -----both inside a folder  -----the folder name is the module name
  • 5.  Anyway..there are couple of methods/functions...  One method to show a help link inside module administration  Another method to define the block for this module – the current posts are shown in a block and we can place the block anywhere from structure -> block from within Drupal
  • 6.  Inside .module file  Another method to pull the recent posts  ---get current time, send Query to Drupal and fetch posts, and then render posts....  Uses a hook for sure to render....  current_posts_block_view displays the posts  All methods starts with the module name  The module is placed under /sites/all/modules/ - > this is where the custom modules reside...not the core modules...
  • 7.  Now let’s create it....  Let’s create the module file as well  Now create the help link in the admin section...
  • 8.  Now enable block ... Create a block so that we can see it in the structure section..  Use a block related hook...  Now empty....  Will work on adding contents to the block...  Module names has to be unique usually...the module method names has to be unique as well...you can hack...but that is not the standard
  • 9.  Nothing at the footer...  So the new module worked..  Have fun..  Now rest is knowing the hooks -> where and when to inject content or functionality..  And also rest is PHP and your basic programming skills...  The rest is not Drupal that much....
  • 10.  Any concerns...  http://ask.justetc.net  Bye Bye...