Published on March 20, 2014
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 email@example.com www.newtechfusion.com NewTechFusion CyberTech Pvt. Ltd. https://www.facebook.com/NewtechfusionSolutions You can also find us at: LetsTalk 14www.newtechfusion.com
Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...
In this presentation we will describe our experience developing with a highly dyna...
Presentation to the LITA Forum 7th November 2014 Albuquerque, NM
Un recorrido por los cambios que nos generará el wearabletech en el futuro
Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...
Drupal is an open source content management platform powering millions of ... Creating Drupal 8.x modules. ... Working with files in Drupal 7 and ...
This forum is for module ... Security advisories for third-party projects that are not part of Drupal core - this includes all module, ... New forum topics ...
I'm Jeff Anderson, ... Learning how Drupal core and various modules work, ... I am new to drupal and was looking around the blogs trying to figure out what ...
... a custom Drupal module. Learn how to use Drupal to build your ... Drupal 7 New Features ... Drupal 6: Online Presentation of Data ...
... http://gotdrupal.com/videos/drupal-panels. Fusion is a new-ish theme ... plus it takes advantage of a cool module called ... His presentation was ...
Drupal Live Streaming Module ... permissions to use features ... (Install new module) ...