drupal global training day by drupal mumbai 6th sep - extending drupal
DESCRIPTION
Drupal Global Training Day by Drupal Mumbai 6th Sep - Extending DrupalTRANSCRIPT
Drupal Mumbai
www.drupalmumbai.org DrupalMumbai.org @DrupalMumbai | FB.me/DrupalMumbai | Gplus.to/DrupalMumbai
Extending Drupal
Blisstering Solu:ons 1300 Clay Street, #600 Oakland, CA 94612.
Phone: +1 510 596 1711 Email: [email protected] Website: www.blisstering.com
Agenda
• Download and Install Drupal Module
What is Module ?
• A module is a so)ware (code) that extends Drupal features / func:onality • Core modules • Contributed modules -‐ addons 27,828+ free community (As of September 2014) • Custom Modules : You can also create your own modules using a rich set of Drupal APIs.
Download and Extend
• Go to h\ps://www.drupal.org/
How to find a module and use it ?
● If you know a module’s name, you can
search for it at
h\p://www.drupal.org/project/
project_module
● Otherwise search for keywords and read carefully!
Drupal Online TesAng Environment • Go to h\p://simplytest.me/ • Type examples in Project name autocomplete field and select ‘Examples for Developers’
• Select 7.x1.x Version from Next Dropdown • Click on Launch sandbox and Your Drupal Test Environment is ReadyJ
Installing a Module in Drupal
• Recommended Releases, Other Releases, Development Releases
• How to Install Module ? 1) Installing from a URL 2) Manually downloading Module
Source files into drupal folder structure
1) Install from a URL
• Navigate to Administra:on menu >> Modules >> Click on Install new Module Link
2) Manual Method
● Download the tar file (if on Mac or unix -‐-‐ zip if
on Windows) to somewhere in your “sites”
folder.
● Expand the tar or zip archive, usually by
double-‐clicking on it
● By conven:on, contributed modules are
usually placed in sites/all/modules/contrib
Enable installed module
Once the file is in place, you need to enable the module. ● In your web browser, visit
h\p://yoursite/admin/modules ● Find the module you just installed, and
click the checkbox next to it. ● Click “Save Configura:on” ● Your new module is now enabled;
consult it documenta:on to find out where.
How to find a Theme and use it
● The process of finding a theme is very
similar to that for finding and enabling a
module.
● Navigate to www.drupal.org/project/project_theme
● Find a theme and download like a module
to your sites/all/themes directory
How to find a Theme and use it -‐ 2 How to Install Theme ? 1) Installing from a URL 2) Manually downloading Theme Source
files into drupal folder structure
Enable the theme
● Once the new theme is in place, navigate to
Administra:on menu >> Click on Appearance
● Select “Enable and set default” to make it ac:ve.
What is DistribuAons?
• DistribuAons Provide site features and func:ons for a specific type of site as a single download
• Single download containing Drupal core, Contributed modules, themes, and pre-‐defined configuraAon
• 838+ free community-‐contributed Distribu:ons (As of September 2014)
• h\ps://www.drupal.org/project/project_distribu:on • Examples : Commerce Kickstart (E-‐commerce), Classified Ad (Olx Clone), etc..
Private & Confiden:al
Extending Drupal ?
QuesAons?
Private & Confiden:al
Thank you!
Ashish Dalvi