SlideShare una empresa de Scribd logo
1 de 14
Features Drupal Module
a better way to package stuff
www.newtechfusion.com 22 Press Complex,
Indore, MP India 452001
Phn No : +91-731-4050926
1www.newtechfusion.com
Introduction
• Features is a Drupal module created by
Development Seed.
• It enables ‘Features’ to be created which
package CCK types, Views, Contexts and
more
• It moves configuration from the database
to code
2www.newtechfusion.com
What is a Feature?
• A Feature is a special kind of module.
• Features consist of generated code
• Features are created via the admin UI
• Features have version numbers
3www.newtechfusion.com
Why use Features?
Re-use configuration settings; and
Add configuration settings to version
control.
4www.newtechfusion.com
How to create a simple Features mini-module
•Create a new content type and its
associated view to export via features.
•Install features module using
https://drupal.org/project/features
•Visit the Features administration page you
will get message
“No Features were found. Please use the Create Feature link to
create a new Feature”
5www.newtechfusion.com
How to create a simple Features mini-module
At this point, you want to visit the Create
Feature tab to begin creating the new feature.
You will need to enter a name and description for the feature.
6www.newtechfusion.com
How to create a simple Features mini-module
We build the feature by selecting components
from the Edit components drop-down menu
for both content type and views .
To do this, we select ‘Content types’ from the drop-down, and select ‘News’
from the checkbox list that appears.
7www.newtechfusion.com
How to create a simple Features mini-module
Once you do this, you will notice a table
appear to the right. This shows you the
components that make up your mini-module
8www.newtechfusion.com
Final Step
And the final step is to hit the ‘Download’
button to download the feature.
The feature mini-module is supplied as a TAR
file, that you will need to extract to one of the
places that Drupal looks for modules.
9www.newtechfusion.com
Final Step
Once you’ve installed the mini-module you
should see something like the following in the
Features admin page:
The final step is to enable the mini-module and it’s all done.
10www.newtechfusion.com
What things can be stored in a Features mini-
module?
Content types,
Module dependencies,
Fields (D7),
Menus,
Individual menu items,
User Roles,
Permissions,
Taxonomies,
Input flter Formats, and
Image formats (D7)
11www.newtechfusion.com
What things can be stored in a Features mini-
module?
Context,
Strongarm,
Boxes,
CCK (D6), and
Rules
Other modules that provide support for exporting to Features
include:
12www.newtechfusion.com
Reference
https://drupal.org/project/features
http://www.opc.com.au/web-development/introduction-
drupal-features-module
13www.newtechfusion.com
+91-731-4050926
info@newtechfusion.com
www.newtechfusion.com
NewTechFusion CyberTech Pvt. Ltd.
https://www.facebook.com/NewtechfusionSolutions
You can also find us at:
LetsTalk
14www.newtechfusion.com

Más contenido relacionado

Destacado

Introduction to Module Development - Drupal
Introduction to Module Development - DrupalIntroduction to Module Development - Drupal
Introduction to Module Development - Drupal
gauravkumar87
 
Apress Pro Drupal Development (Apr. 2007)
Apress   Pro Drupal Development (Apr. 2007)Apress   Pro Drupal Development (Apr. 2007)
Apress Pro Drupal Development (Apr. 2007)
guest99d085
 

Destacado (7)

Social features in SharePoint 2013
Social features in SharePoint 2013Social features in SharePoint 2013
Social features in SharePoint 2013
 
Drupal features knowledge sharing
Drupal features   knowledge sharingDrupal features   knowledge sharing
Drupal features knowledge sharing
 
Features in Drupal 7/6
Features in Drupal 7/6Features in Drupal 7/6
Features in Drupal 7/6
 
Font End Development and Drupal: Gulp, Sass, Susy, and Mappy Breakpoints
Font End Development and Drupal: Gulp, Sass, Susy, and Mappy BreakpointsFont End Development and Drupal: Gulp, Sass, Susy, and Mappy Breakpoints
Font End Development and Drupal: Gulp, Sass, Susy, and Mappy Breakpoints
 
Introduction to Module Development - Drupal
Introduction to Module Development - DrupalIntroduction to Module Development - Drupal
Introduction to Module Development - Drupal
 
Apress Pro Drupal Development (Apr. 2007)
Apress   Pro Drupal Development (Apr. 2007)Apress   Pro Drupal Development (Apr. 2007)
Apress Pro Drupal Development (Apr. 2007)
 
Drupal development, deployment, and automation with Puppet
Drupal development, deployment, and automation with PuppetDrupal development, deployment, and automation with Puppet
Drupal development, deployment, and automation with Puppet
 

Similar a Drupal Features Module by New Tech Fusion presentation

M2ModuleDevelopmenteBook
M2ModuleDevelopmenteBookM2ModuleDevelopmenteBook
M2ModuleDevelopmenteBook
Trọng Huỳnh
 

Similar a Drupal Features Module by New Tech Fusion presentation (20)

IBM Drupal Users Group Discussion on Managing and Deploying Configuration
IBM Drupal Users Group Discussion on Managing and Deploying ConfigurationIBM Drupal Users Group Discussion on Managing and Deploying Configuration
IBM Drupal Users Group Discussion on Managing and Deploying Configuration
 
DotNetNuke
DotNetNukeDotNetNuke
DotNetNuke
 
Features and Context Overview
Features and Context OverviewFeatures and Context Overview
Features and Context Overview
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - Components
 
Features++
Features++Features++
Features++
 
UX DURING MODULE INSTALLATION AND CONFIGURATION
UX DURING MODULE INSTALLATION AND CONFIGURATIONUX DURING MODULE INSTALLATION AND CONFIGURATION
UX DURING MODULE INSTALLATION AND CONFIGURATION
 
E-BOOK MANAGEMENT SYSTEM PowerPoint Presentation
E-BOOK MANAGEMENT SYSTEM  PowerPoint PresentationE-BOOK MANAGEMENT SYSTEM  PowerPoint Presentation
E-BOOK MANAGEMENT SYSTEM PowerPoint Presentation
 
An Introduction to Drupal
An Introduction to DrupalAn Introduction to Drupal
An Introduction to Drupal
 
Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3Joomla Explained - As Easy as 1, 2, 3
Joomla Explained - As Easy as 1, 2, 3
 
Les04
Les04Les04
Les04
 
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
 
How to Build a Website using Joomla
How to Build a Website using JoomlaHow to Build a Website using Joomla
How to Build a Website using Joomla
 
Easy Drupal Project Deployment With Features Module & Drush
Easy Drupal Project Deployment With Features Module & DrushEasy Drupal Project Deployment With Features Module & Drush
Easy Drupal Project Deployment With Features Module & Drush
 
Introduction of Xcode
Introduction of XcodeIntroduction of Xcode
Introduction of Xcode
 
M2ModuleDevelopmenteBook
M2ModuleDevelopmenteBookM2ModuleDevelopmenteBook
M2ModuleDevelopmenteBook
 
Brandon Miller Portfolio
Brandon Miller PortfolioBrandon Miller Portfolio
Brandon Miller Portfolio
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architecture
 
Streamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptxStreamlining React Component Development and Sharing with bit.pptx
Streamlining React Component Development and Sharing with bit.pptx
 
A report on mvc using the information
A report on mvc using the informationA report on mvc using the information
A report on mvc using the information
 
Dot Net Nuke
Dot Net NukeDot Net Nuke
Dot Net Nuke
 

Último

Último (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Drupal Features Module by New Tech Fusion presentation

  • 1. Features Drupal Module a better way to package stuff www.newtechfusion.com 22 Press Complex, Indore, MP India 452001 Phn No : +91-731-4050926 1www.newtechfusion.com
  • 2. Introduction • Features is a Drupal module created by Development Seed. • It enables ‘Features’ to be created which package CCK types, Views, Contexts and more • It moves configuration from the database to code 2www.newtechfusion.com
  • 3. What is a Feature? • A Feature is a special kind of module. • Features consist of generated code • Features are created via the admin UI • Features have version numbers 3www.newtechfusion.com
  • 4. Why use Features? Re-use configuration settings; and Add configuration settings to version control. 4www.newtechfusion.com
  • 5. How to create a simple Features mini-module •Create a new content type and its associated view to export via features. •Install features module using https://drupal.org/project/features •Visit the Features administration page you will get message “No Features were found. Please use the Create Feature link to create a new Feature” 5www.newtechfusion.com
  • 6. How to create a simple Features mini-module At this point, you want to visit the Create Feature tab to begin creating the new feature. You will need to enter a name and description for the feature. 6www.newtechfusion.com
  • 7. How to create a simple Features mini-module We build the feature by selecting components from the Edit components drop-down menu for both content type and views . To do this, we select ‘Content types’ from the drop-down, and select ‘News’ from the checkbox list that appears. 7www.newtechfusion.com
  • 8. How to create a simple Features mini-module Once you do this, you will notice a table appear to the right. This shows you the components that make up your mini-module 8www.newtechfusion.com
  • 9. Final Step And the final step is to hit the ‘Download’ button to download the feature. The feature mini-module is supplied as a TAR file, that you will need to extract to one of the places that Drupal looks for modules. 9www.newtechfusion.com
  • 10. Final Step Once you’ve installed the mini-module you should see something like the following in the Features admin page: The final step is to enable the mini-module and it’s all done. 10www.newtechfusion.com
  • 11. What things can be stored in a Features mini- module? Content types, Module dependencies, Fields (D7), Menus, Individual menu items, User Roles, Permissions, Taxonomies, Input flter Formats, and Image formats (D7) 11www.newtechfusion.com
  • 12. What things can be stored in a Features mini- module? Context, Strongarm, Boxes, CCK (D6), and Rules Other modules that provide support for exporting to Features include: 12www.newtechfusion.com
  • 14. +91-731-4050926 info@newtechfusion.com www.newtechfusion.com NewTechFusion CyberTech Pvt. Ltd. https://www.facebook.com/NewtechfusionSolutions You can also find us at: LetsTalk 14www.newtechfusion.com