background preloader

Drupal

Facebook Twitter

How To Create A Custom Template for A View (Drupal Tutorial) (Article) 1.

How To Create A Custom Template for A View (Drupal Tutorial) (Article)

Download and extract the files. 30 modules Drupal 7 pour un site Web optimisé. Drupal. Adds Drupal 7 snippets/functionality.

Drupal

Find the source on Github: Installation With Package Control If you have the Package Control package installed, you can install Drupal from inside Sublime Text itself. Creating a Simple AJAX Interface with Views. I had a client recently who had set up a view with a list of node titles down the left side of the page.

Creating a Simple AJAX Interface with Views

He wanted to set up the interface so that when the user clicked on the node titles on the left, the node would display in a panel on the ride side using AJAX. Attaching AJAX events to non-form page elements in Drupal - Pixelite. Making AJAX request in Drupal using the form API is real nice and simple, but did you know you can also attach AJAX actions to normal page elements easlily as well?

Attaching AJAX events to non-form page elements in Drupal - Pixelite

4. Adding JavaScript to your theme or module. The PHP function drupal_add_js() lets you add a JavaScript file, setting or inline code to the page and it takes 5 parameters (see the api reference).

4. Adding JavaScript to your theme or module

The first parameter is always going to be a path to a js file, an array, or a piece of JavaScript code. If the second parameter is 'module' (the default), 'theme', or 'core', then the first parameter must be a path and the only difference between these three is the order in which the script tag will be placed relative to other scripts, i.e. core scripts first, then module scripts and finally theme scripts. If the second parameter is 'setting', then the first parameter must be an array of settings. This is very handy for telling JavaScript about the configuration settings for your module, for example, and is explained in more detail in the next section. Make WAMP work on Windows 10 Technical Preview · Praveen Puglia. 12 Feb 2015 Edit For Windows 10 Clean Install If you have done clean installation of Windows 10, you may not have the Word Wide Web Publishing Service.

Make WAMP work on Windows 10 Technical Preview · Praveen Puglia

In that case, simple WAMP/XAMPP installation should work fine. If it doesn't, try installing Visual C++ Redistributable and then re-install WAMP/XAMPP. Shortly after the Windows 10 Technical Preview was made available, I was excited to try it out. Installer un serveur web sous Debian - REZO ZERO Documentation. The Perfect Server - Debian 8 Jessie (Apache2, BIND, Dovecot, ISPConfig 3) This tutorial shows how to prepare a Debian Jessie server (with Apache2, BIND, Dovecot) for the installation of ISPConfig 3, and how to install ISPConfig 3.

The Perfect Server - Debian 8 Jessie (Apache2, BIND, Dovecot, ISPConfig 3)

The webhosting control panel ISPConfig 3 allows you to configure the following services through a web browser: Apache or nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more. This setup covers Apache (instead of nginx), BIND (instead of MyDNS), and Dovecot (instead of Courier). 1 Preliminary Note In this tutorial I will use the hostname server1.example.com with the IP address 192.168.1.100 and the gateway 192.168.1.1. These settings might differ for you, so you have to replace them where appropriate. Drupal et l'installation multi-sites, multi-domaines. Multisite Drupal Set-up on WAMP. Mon compte. 7 Template (Theme Hook) Suggestions. HOWTO : Insérer une image dans un contenu. Bien démarrer avec Drupal... qui n'a pas eu du mal à mettre une image dans son article ?

HOWTO : Insérer une image dans un contenu

Et qu'on se le dise une bonne fois pour toute : il n'est pas nécessaire d'installer un quelconque module optionnel pour afficher des images avec Drupal. Cas 1 : afficher une image présente sur un autre site Je vous le déconseille car si le site auquel vous vous référez, renomme ou supprime cette image, votre site va la chercher très longtemps (selon le navigateur que vous utilisez)... et votre site sera très lent !

Remarque importante : Pour utiliser une image présente sur un autre site, vérifier que les droits sont disponibles. Autant vous pouvez généralement afficher sur votre site les logos de tel ou tel logiciel libre (par exemple celui de Drupal), autant une photo personnelle d'un autre site ce n'est pas sûr... Le manuel des thèmes Drupal 6. Introduction aux thèmes [edit] Pré requis Drupal est reconnu pour sa puissance et sa flexibilité, il est ainsi parfois difficile de comprendre comment interagissent les différents éléments qui composent l'application.

Le manuel des thèmes Drupal 6

Même s'il existe de nombreuses façons de réaliser un thème, toutes ne sont pas forcément recommandées. Avoir connaissance des bonnes pratiques permet de minimiser les erreurs et de faciliter la maintenance. Même si vous choisissez de ne pas respecter les règles et de mettre en œuvre votre propre méthode, vous aurez de meilleurs chances de succès en en ayant eu connaissance. Views, thèmes (css) et mise en page (tpl) D6. Bonjour à tous,

Views, thèmes (css) et mise en page (tpl) D6

Drupal 7 Adding body class or ID based on Taxonomy term. I'm building a custom theme in Drupal 7 which allows for the creations distinct main sections. Each section is comprised of pages that share common design elements (main banner, specific couloured gradient behind sub-navigation, colour of headlines and sub-heads, etc...). I was planning to use a taxonomy vocabulary called "Section" to allow author/editor users to create pages and assign them a section with a taxonomy drop down whenever a new page was added.

In Drupal 6 I would use THEME-NAME_preprocess_page(&$args) {} in template.php to grab the taxonomy term and add a variable that I could then use in my page.tpl.php to assign to the body tag however this doesn't seem to be possible and although I have tried many different methods of preprocessing, I can't seem to readily add any variables to my page.tpl.php or node.tpl.php. Any tips, direction, links for further ready would be greatly appreciated. Thanks, Andrew The solution: Le manuel du designer. Sommaire NB: ce signe [^], à coté de chaque titre de paragraphe, vous permet de revenir au sommaire ci-dessous Introduction aux thèmes ^ Tutorial: Drupal Bootstrap Subtheme with LESS - Gaslamp Media. Bootstrap is our favorite starter theme for Drupal 7.

However, the documentation is a little out of date and incomplete for Bootstrap 3.1.x and newer. The template files are also in an unusual place, making getting started with the subtheme trickier than it needs to be. How to build a sub-theme (Zen 7.x-5.x) - Manually. Last updated May 10, 2014. Created on April 26, 2012.Edited by Christopher James Francis Rodgers, kselden, MF82, cam10025. Log in to edit this page.