drupal features module by new tech fusion presentation
DESCRIPTION
Drupal Features is one of the best module for the smart drupal developers. It gives alot of power to developers and save huge development efforts if some feature needs to be implemented again and again in different websites.TRANSCRIPT
![Page 1: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/1.jpg)
www.newtechfusion.com 1
Features Drupal Modulea better way to package stuff
www.newtechfusion.com 22 Press Complex, Indore, MP India 452001Phn No : +91-731-4050926
![Page 2: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/2.jpg)
www.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
![Page 3: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/3.jpg)
www.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
![Page 4: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/4.jpg)
www.newtechfusion.com 4
Why use Features?
Re-use configuration settings; and
Add configuration settings to version control.
![Page 5: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/5.jpg)
www.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”
![Page 6: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/6.jpg)
www.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.
![Page 7: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/7.jpg)
www.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.
![Page 8: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/8.jpg)
www.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
![Page 9: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/9.jpg)
www.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.
![Page 10: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/10.jpg)
www.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.
![Page 11: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/11.jpg)
www.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, andImage formats (D7)
![Page 12: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/12.jpg)
www.newtechfusion.com 12
What things can be stored in a Features mini-module?
Context,Strongarm,Boxes,CCK (D6), andRules
Other modules that provide support for exporting to Features include:
![Page 13: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/13.jpg)
www.newtechfusion.com 13
Reference
https://drupal.org/project/features
http://www.opc.com.au/web-development/introduction-drupal-features-module
![Page 14: Drupal Features Module by New Tech Fusion presentation](https://reader033.vdocuments.mx/reader033/viewer/2022052904/5581aeabd8b42afd4c8b5389/html5/thumbnails/14.jpg)
www.newtechfusion.com 14
+91-731-4050926
NewTechFusion CyberTech Pvt. Ltd.
https://www.facebook.com/NewtechfusionSolutions
You can also find us at:
Lets Talk