background preloader

Let's go Drupal

Facebook Twitter

Welcome | arNuméral. Overview of theme files. Last updated February 5, 2015. Created on August 28, 2007.Edited by heather, dustise, er.pushpinderrana, drupalshrek. Log in to edit this page. A theme is a collection of files that define the presentation layer. You can also create one or more "sub-themes" or variations on a theme. Only the .info file is required, but most themes and sub-themes will use other files as well. The following diagram illustrates the files that are found in a typical theme and sub-theme. Drupal 6 Drupal 7 .info (required) All that is required for Drupal to see your theme is a ".info" file. The internal name of the theme is also derived from this file. Info files for themes are new in Drupal 6. Template files (.tpl.php) These templates are used for the (x)HTML markup and PHP variables.

Note: The theme registry caches information about the available theming data. Template.php For all the conditional logic and data processing of the output, there is the template.php file. Sub-themes Others Looking for support? HowTo: Create a local environment using MAMP. MAMP creates a local server environment on Mac OS X by installing PHP, MySQL, and Apache right out of the box. This will make Drupal much easier to install because the components don't have to be installed separately.

This page is to be used in conjunction with the installation instructions for Drupal on Mac OS X. Also you may want to check out this video in the Videocasts section of the handbook: Installing a Local Web Server on Mac OS X. Download MAMP (This will install Apache, MySQL, and PHP in one step.) Find the latest version here: Download and proceed through the installer to install MAMP. Download Drupal Find the latest Drupal release here: Move the directory containing the Drupal files into the MAMP htdocs directory: mv drupal-x.x.x/* drupal-x.x.x/.htaccess /Applications/MAMP/htdocs/yourdrupaldir where yourdrupaldir is whatever you want the directory to be called.

Create the Drupal database To create a database for Drupal Changing your password. Drupalize.Me. Introduction to Theming Basics for Drupal 7. Drupal 7: Creating Content Types. DrupalFacile | Drupal de A à Z en vidéo et en français ! Chaîne de DrupalFacile. Getting Started with Drupal 7 tutorial video series.

Chaîne de LevelTenDrupalLabs.