How to extend and configure Drupal without user interaction or database dump By Damien Snoeck for Switzerland Romandy Drupal Group January 27, 2010 Work.

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

Drupal Basics Part 3 Create a new page Main tabs menu Using the theme Agricultural Communications Services Integrated Media Training Sessions
Business Development Suit Presented by Thomas Mathews.
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Module 5: Creating and Configuring Group Policy
Creating Multilingual Drupal 7 Websites: Part 2 Kristen Pol CruzTech, LLC (Freelance)‏ Drupal Dev / SEO / i18n kristen.org Santa Cruz,
Our aims ease the pain – for all our users get with the times better communication with our supporters recruit and engage people to our campaigns raise.
Drupal Presentation - Menus CS 275 – Intro to Databases Fahmy Mohammed Spencer Forell Max Mueller.
1 Chapter 12 Working With Access 2000 on the Internet.
Project Implementation for COSC 5050 Distributed Database Applications Lab6.
Simple Web SQLite Manager/Form/Report
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
The Dr ü G Book: An Intro to Drupal The Dr ü G Book: An Intro to Drupal (Dr ü G: Drupal User ’ s Group - users, not developers) This is an introduction.
Automating Drupal Deployment Dominique De Cooman.
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
Justin Klein Keane Drupal Training Session 1 Introduction to Drupal.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Hans Hoerschelman. whoami Hans Sr. Application UI 460 Design (moonlight) UIDUG & DrupalHawks.
Drupal and the CMS Project. Lesson Learned #1 Keep your modules updated, especially when there are security concerns in the update notes 2010 | The Sky’s.
The Drupal 6 menu system: architecture, do, don't and tricks (part 1) Peter Wolanin August 27, 2008 Drupalcon, Szeged.
Installing CiviCRM onto Wordpress. How does it work?
1/30/11 Hacking your way through the Drupal API, a themers intro Baris Wanschers (BarisW)
SCHOOL OF INFORMATION UNIVERSITY OF MICHIGAN si.umich.edu Drupal: Configuration and Customization Week 4: Installation, Module Development January 25,
Training Course 2 User Module Training Course 3 Data Administration Module Session 1 Orientation Session 2 User Interface Session 3 Database Administration.
Crystal Hoyer Program Manager IIS Team Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session.
Drupal Training Syllabus Chaitanya Lakshmi
Module 11 : Backup and Restore Jong S. Bok
BZUPAGES.COM Presentation on Content Management System (CMS) Presented to. Sir Ahmad Kareem.
SharePoint 2010 Development Environment A Guide to Setup SharePoint 2010 Development Environment on Windows 7 Machine.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Drupal Jumpstart Information Systems 337 Prof. Harry Plantinga.
Managing Drupal with Aegir Chris Burge Burge Consulting, LLC 30 June 2013 Dublin, Ireland Drupal Dev Days.
Drupal Commerce Better than Uber Andrew Root: druroot.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
AEgir Maintain your Drupal sites. The name: AEgir “In Norse mythology, AEgir was the god of the oceans and if Drupal is a drop of water, AEgir is the.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
Drush: The Drupal Shell Utility Trevor Mckeown Founder & Owner Sublime Technologies
Google Refine for Data Quality / Integrity. Context BioVeL Data Refinement Workflow Synonym Expansion / Occurrence Retrieval Data Selection Data Quality.
How does Drupal Work? Information Systems 337 Prof. Harry Plantinga.
Module 8 : Configuration II Jong S. Bok
Are You in the Right Room?  Want to learn about Features module  Are a beginner or intermediate drupaler who hasn't really used it yet  Don't have an.
Outline of Drupal Gardens setup and site export ENTICE meeting 12 November 2010 Silvia Tomanin DG-CO.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Pre-Conference Training Sales Background TaiRox Product Evolution Don Thomson, CEO.
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
Configuring Drupal Information Systems 337 Prof. Harry Plantinga.
ONE LAPTOP PER CHILD This works are licensed under a Creative Commons Attribution 2.5 License. One Laptop per Child Builds, Customizations and Localization.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
V7 Foundation Series Vignette Education Services.
INFM 700 Project 3 (Aqua) - Akashdeep Ray - Arnaud Lawson - Neha AR - Vidisha Vedvyas.
CMS Showdown What Is A Content Management System (CMS)? CMS Website Content Outside Content Social Media Connections with CRM Programs Statistics and.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Drupal Basics May 30, 2012 By Sean Fitzpatrick. Sean Fitzpatrick | Welcome We're going to talk about Drupal We're going to keep it pretty.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Introducing Drush: Command line productivity for Drupal.
EnhanceEdu IIIT-Hyderabad. Agenda What’s a wiki? Comparison with a website Wiki Formatting ‘My’ Page Fun with wiki 2EnhanceEdu, IIIT-Hyderabad.
CiviCRM CMS Integration
Microsoft FrontPage 2003 Illustrated Complete
Content Management System
Site Deployment Module
Pre-Conference Training Sales Background TaiRox Product Evolution
Populating a Data Warehouse
Pantheon Terminus Bill Juda.
Is a Content Management System in Your Future?
Presentation transcript:

How to extend and configure Drupal without user interaction or database dump By Damien Snoeck for Switzerland Romandy Drupal Group January 27, 2010 Work done with Jeff Trudeau

Key Points Pros and Cons Development environment and tools Custom modules Features module

Pros and Cons + Ease the production server update + No database dump + No SQL diff + No core files in your code repository + Fast deployment - Need a lot of more time !

Files Structure

Dev tools Drush: command line tool sh tools/drush -c files/drushrc.php make files/Makefile drupal/ Drush Make: drush extension core = 6.x projects[] = drupal projects[drupal] = 6.15 # Advanced help projects[] = advanced_help projects[advanced_help][subdir] = "contrib" projects[advanced_help][version] = 1.2

Drupal Install Script 1. Reset Environment 2. Download and extract drush and drush make 3. Run drush make to create environment 4. Create symbolic links between drupal~ and drupal 5. Apply local patches 6. Other initialization tasks

Custom Modules Base module Define dependencies Setting Drupal variables Adding new language Use custom theme Enable/Disable default blocks Translation files *.fr.po

Comparison 1.Administer › User management › User settings › uncheck Require verification 2.Administer › Site configuration › Languages › Add language 3.Administer › Site Bulding › Theme › Enable theme 4.Administer › Site Bulding › Blocks › Configure a block 1. variable_set('user_ _verification', FALSE); 2. locale_add_language('fr', 'French', 'Français'); 3. global $custom_theme; $custom_theme = 'mmio_base'; 4. drupal_write_record('blocks', array('bid'=>18, 'pages'=>'admin*', visibility=>1), 'bid');

Custom Menu Module Use of hook_menu() $items['companies'] = array( 'title' => 'Companies', 'description' => 'List of companies', 'menu_name' => 'en-menu1', 'access arguments' => array('access content'), 'page callback' => 'companies', 'weight' => 0, 'options' => array( 'attributes' => array('title' => 'Companies'), 'langcode' => 'en' ), 'type' => MENU_NORMAL_ITEM, 'file' => 'mymodule_menu.inc.php', );

Features Module Can be exported as module: Content type (with image presets) Permissions Views Dependencies Feeds Integration with Drush

Live Demo