...du verbe Drupaler (1er groupe)

Drupal 7.x

Geospatial Apache Solr searching in Drupal 7 using the Search API module (Ubuntu version, part 2)

This blog article in an update to a previous post Geospatial Apache Solr searching in Drupal 7 using the Search API module (Ubuntu version). In this article, I will outline a step by step guide on how to integrate Drupal 7 with the Search API modules to implement GeoSpatial searching in a View. I used a clean Ubuntu server (12.04 LTS) installation on a VirtualBox virtual machine.

Initial package installation

Creating a web server to host Ruby on Rails and PHP using Phusion Passenger, Nginx, and Apache

In this article I'll explain how I recently setup a web server to host both 1. Ruby on Rails via Phusion Passenger (mod_rails), and 2. PHP via Apache (mod_php). Nginx will sit in front and proxy requests (by hostname) to Apache, or serve them directly via Phusion. Here's a rough diagram:

nginx apache diagram

I started with a fresh (minimal) installation of Ubuntu 10.04 LTS. Here we go..

Creating a web server to host Ruby on Rails and PHP using Phusion Passenger, Nginx, and Apache

In this article I'll explain how I recently setup a web server to host both 1. Ruby on Rails via Phusion Passenger (mod_rails), and 2. PHP via Apache (mod_php). Nginx will sit in front and proxy requests (by hostname) to Apache, or serve them directly via Phusion. Here's a rough diagram:

nginx apache diagram

I started with a fresh (minimal) installation of Ubuntu 10.04 LTS. Here we go..


# update installed packages

Geospatial Apache Solr searching in Drupal 7 using the Search API module (Ubuntu version)

In this tutorial, I'll share my notes and code I've used to setup geospatial Apache Solr searching in Drupal 7 using the Search API module. For this tutorial I created a minimal Ubuntu server virtual machine. All the commands should be executed as a user with permission to modify files, or prefixed with "sudo".

The first thing I do with a fresh virtual machine is check for package upgrades.

Geospatial Apache Solr searching in Drupal 7 using the Search API module (Ubuntu version)

In this tutorial, I'll share my notes and code I've used to setup geospatial Apache Solr searching in Drupal 7 using the Search API module. For this tutorial I created a minimal Ubuntu server virtual machine. All the commands should be executed as a user with permission to modify files, or prefixed with "sudo".

The first thing I do with a fresh virtual machine is check for package upgrades.

$ apt-get update
$ apt-get upgrade

Des coins arrondis dans Drupal 7 (jquery corner)

Traduction de la page http://drupal.org/node/1030144
publiée / actualisée sur drupal.org le 24 Janvier 2011


Voici une façon rapide pour arrondir les angles de vos DIV dans Drupal 7.

  • Téléchargez la dernière version de jquery-corner depuis http://jquery.malsup.com/corner/.
  • Sauvegardez-là dans le dossier de votre thème, sous le nom VOTRETHEME/js/jquery.corner.js
  • Dans le même dossier, créez un fichier vide VOTRETHEME_corner.js
  • Dans votre fichier .info existant (VOTRETHEME.info), ajoutez les lignes scripts[] = js/jquery.corner.js et scripts[] = js/VOTRETHEME_corner.js
  • Videz votre cache ! ! ! ! !
  • et suivez les instructions ci-dessous

Styliser les menus

Traduction de la page http://drupal.org/node/988842
publiée / actualisée sur drupal.org le 1 Mars 2011


La nouvelle fonction theme_links($variables) de Drupal 7 ne reçoit qu'un tableau associatif pour toute la structure du lien. Comme vous pouvez le lire dans la documentation, vos liens doivent être passés en tant que tableaux associatifs via un argument links, mais ne décrit pas où et comment vous trouver cette variable.

Pages

Subscribe to Drupal 7.x