• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Drupal 7 -  Working with features
 

Introduction to Drupal 7 - Working with features

on

  • 1,834 views

Short overview on Features module in Drupal 7. It's more a plus rather than obligatory. Still, dividing your project into features and managing them with the Features is highly recommended.

Short overview on Features module in Drupal 7. It's more a plus rather than obligatory. Still, dividing your project into features and managing them with the Features is highly recommended.

Statistics

Views

Total Views
1,834
Views on SlideShare
1,683
Embed Views
151

Actions

Likes
4
Downloads
41
Comments
0

5 Embeds 151

http://shtrak.eu 137
http://blog.drupalization.net 8
http://localhost 4
http://webcache.googleusercontent.com 1
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to Drupal 7 -  Working with features Introduction to Drupal 7 - Working with features Presentation Transcript

    • Introduction to Drupal 7 Bonus Session (Session 5.3) FeaturesDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 1
    • Agenda• What is Features and reasons to use• Advantages of using Features• Common ways to compile functionalities• Enabling a featureDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 2
    • Features• A Drupal modules: http://drupal.org/project/features• Set of combined Drupal functionalities• Configurations from database into code• Reusable functionalities through websites• A Drupal feature might be – Dynamic news section – Dynamic gallery section – Block with latest registered membersDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 3
    • Features Source: http://www.lullabot.com/articles/features-moduleDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 4
    • Advantages of using Features• Export of database configurations into code• Code can be kept into versioning system• Code can be easily transferred through different website instances• You can reuse functionalities and save timeDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 5
    • Common features combinationsThe most important paradigm is to separatefunctionalities in a way to keep them independent fromeach other. If you want and do a change in time, it shouldnot affect other features in the best caseCommon combinations are – Content type + its fields + the view they use – Views pages and blocks with their panels – Content type + Views – Taxonomy vocabularies by purpose – Roles and permissions by role/purposeDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 6
    • Enabling features• Features can be enabled as any other module• Features can be also enabled from the Features management panel at the Administration > Structure > FeaturesDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 7
    • Useful links on Features• Bundling site settings using Features• Making and Using Features in Drupal• Introduction to Drupal Features module• The Features Module (again Lullabot)Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 8
    • Time for questionsDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 9
    • ContactsKalin Chernev – E: kalata@shtrak.eu – T: twitter.com/kalinchernev – U: http://shtrak.eu/kalataDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 10