background preloader

Theming Guide

Theming Guide
Last updated April 3, 2014. Created by Heine on August 2, 2012.Edited by Manjit.Singh, nitishchopra, moonstruck, silverwing. Log in to edit this page. This handbook is about changing the look and feel of a Drupal site. You can change the administrative settings to modify the appearance of the theme, you can copy an existing theme and then change or extend the code, or you can build a complete theme from scratch. You can do more with a theme than change the appearance of an entire site. Some other things that you can do with a theme are: Change layouts, images or fonts.Hide or display fields dependent on user role.Dynamically respond to changes in the content or to user input.Modify or replace text (e.g., labels or attributes) and variables generated by modules. Other Places to Explore Looking for support?

16 Different Clones You Can Build with Drupal Drupal is an excellent choice for a content management system (CMS). However, many people only see it as a simple CMS, a site to build a landing page or two. But Drupal is much more than that. Not only is Drupal easy to theme, it’s got a wide range of built in functionality and a large community powering the popular CMS. One of the great things about Drupal is that you can build almost any sort of site that you can imagine, with the help of a couple modules. So, if you’re thinking about building your next big site, here are a few ways that you can take existing modules and turn a project quickly, without needing to make any custom modules. A quick note: I don’t think it’s a great idea to make exact clones of existing sites and slap a new name on them. 1. There’s plenty of Digg clone software out there, but it’s pretty simple to make a site that allows users to submit links to content, vote, comment and moderate the submitted links. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.

Créer un template pour Drupal | tutoriels-web.net Utiliser des CMS, c'est très bien, mais encore faut-il savoir personnaliser le look du site. Voici une vidéo qui vous montrera comment préparer une page HTML pour recevoir du contenu dynamique de la part de Drupal. Vous trouverez beaucoup d'informations sur drupal.org pour d'autres subtilités. Drupal permet en effet de créer de nombreux styles de pages et de blocks, et de les adapter au besoin. Conseil: avant d'activer votre nouveau template, allez sous Administer > Site Configuration > Administration theme et choisissez Garland. La vidéo Les sources

Theming overview A few handbook pages has been moved to the new theming handbook. A fresh start for Drupal 6 and beyond. This handbook will eventually be part of a sub-section of the new outline after it has been cleansed out. Note: this page describes the theme system from a themer's perspective. As of version 4.5, Drupal's theme system is very flexible. As of Drupal 4.7 the default theme engine that is included with Drupal is PHPTemplate. Here's how some existing themes are built: A 'theme' is an abstract thing, which can be formed in several ways: Template file (.tpl.php, .xtmpl) for a templating engine (PHPTemplate, XTemplate): e.g. The directory structure for the example above looks like this: themes/engines/phptemplate/phptemplate.enginethemes/garland/page.tpl.phpthemes/garland/style.cssthemes/garland/minelli/style.cssthemes/bluemarine/page.tpl.phpthemes/bluemarine/style.cssthemes/chameleon/chameleon.themethemes/chameleon/style.cssthemes/chameleon/marvin/style.css

#1 Creating a Drupal 7 custom theme from an HTML template :: Part 1 30 modules Drupal 7 pour un site Web optimisé | Axial Développement Le Web offre une multitude de systèmes de gestion de contenu. Parmi les gros joueurs, on retrouve des noms comme WordPress, Joomla et Drupal. Il y a aussi les peu connus. Pourquoi choisir Drupal? Il est basé sur un système de nœuds qui peuvent être attachés à n’importe quoi (article de blogue, page statique, produit, billet de forum, bannière, nouvelle, etc.)Il est utilisé depuis environ une décennieSa communauté est active et il est en développement constantUne liste grandissante de modules est disponible Les modules* les plus importants * Certains modules dans la liste ci-dessous peuvent nécessiter l’installation d’autres modules afin de fonctionner. Gestion de contenu Internationalization Indispensable si vous avez besoin d’un site supportant plusieurs langues, ce petit bijoux permet de traduire n’importe quoi, des variables dans l’administration jusqu’aux chaînes de caractère dans vos contenus. Administration menu Drupal possède son propre menu par défaut. Views Un autre indispensable.

Creating a Drupal 7 video gallery with the Media module | Ferlito/van der Wyk We've been testing different contributed Drupal 7 modules to assess the readiness of the ecosystem for production sites. The Media module is an ambitious and promising solution for managing and deploying a variety of media assets. It promises to be the successor to the very successful Embedded Media Field After reading the extensive documentation it occurred to me there was a need for a tutorial in this area. This tutorial will focus on creating a gallery of YouTube videos using the Media and Media YouTube modules. This is the end product we will be building: In completing this tutorial I used Drupal 7.8 with the following contributed modules: Install and enable these modules as usual. Video content type First we need to create a video content type. Video field Next we'll create a field to hold our video. Click on Save field settings button on the next page. Field display settings Now click on the Manage Display tab and select Media for the video format. File types Add videos to library

Related: