background preloader


Facebook Twitter

Drupal 7 on nginx + php + postgres on Ubuntu 11.10. After dealing with nginx for some time I loathe the thought of going back to Apache.

Drupal 7 on nginx + php + postgres on Ubuntu 11.10

Therefore when I need to set up a new environment, even if its just for development, I try and make it work with nginx first. We'll assume you're starting out with a fresh install of Ubuntu Server 11.10. To start out, we install all the necessary packages using apt-get. sudo apt-get install nginx postgresql php5-common php5-cli php5-suhosin php5-pgsql php5-cgi php5-gd php5-curl php5-fpm You'll see a lot of other nginx + php tutorials outline writing your own fastcgi init script or to grab the spawn-fcgi process from lighthttpd. Now let's start nginx and php5-fpm. sudo /etc/init.d/php5-fpm start && sudo /etc/init.d/nginx start You can test this by browsing to the IP of the server, or localhost if this is being done on your local machine.

Going Mobile with Drupal. Paul Chason | Managing Partner Fresh off the heels of DrupalCon Chicago 2011, the overriding buzz around the community is making Drupal mobile-compatible.

Going Mobile with Drupal

After spending the last two weeks catching up from being out of the office for 4 days, I was finally able to sit down and put pen to paper (or finger to key) and start making sense of the fast-progressing mobile Drupal landscape. What does it take to “go mobile” with Drupal? The first question to ask before embarking on a mobile project is "who's our audience? " Build Open Atrium For Development. On this page : kyle leon customized fat loss review Note: This build process was tested against Open Atrium 1.1 Open Atrium uses an install profile and a Drush make based build system.

Complete and ready to install downloads are offered at but it's also possible to build Open Atrium yourself. You may want to do this to participate in Open Atrium development, or to simply check out the bleeding edge. Developers, or other users, who wish to build Open Atrium themselves will need to have Drush, Drush make, and Git installed. Drupal. Drupal is a robust Content Management System that runs on a LAMP server.


The LAMP server uses MySQL by default, but PostgreSQL can also be used with Drupal. It can host blogs, forums, and a variety of other content. It has a huge selection of add-ons modules for other functionality, such as advertising, chatbox, e-commerce, multimedia tools, instant messenger, customer relationship management, printer-friendly pages, and web-cams. Recent releases of Ubuntu include both Drupal6 and Drupal7 in the repositories, which are the only two supported releases of Drupal. Please read this if you need help choosing a Drupal version. Accessory Drupal add-ons modules are not included in the Ubuntu packages however and must be installed manually after initial installation. Please refer to the Drupal installation guide for more advanced hosting features.

Use any method to install the LAMP stack packages. Easy LAMP server installation sudo tasksel install lamp-server. Bay Area Drupal Camp. - Drupal Development, Customization and Consulting. A while ago, Angela Byron of Lullabot wrote an article comparing Image and Image Exact Sizes with CCK Imagefield and Imagcache. - Drupal Development, Customization and Consulting

The examples given in the article are clear, but if you are using views, you will need to do some more stuff to get what you want. What my client wanted was the ability to upload a picture of any size, and have a preset size of it appear in one place, and another in another place. These business requirements translate to two different views that end up as blocks on the front page, using the same content type. Javascript Tools. Javascript Tools provides a common set of methods extending those available in Drupal core (drupal.js) for Javascript and AJAX module development in Drupal.

Javascript Tools

Note: you should not install this module for Drupal 6 unless it is required by another module. Note: As of Oct. 20, 2009, the 5.x version is no longer supported. Prior to Drupal 6, Javascript Tools included an integrated set of Javascript and AJAX modules. Node Reference CCK field does not show thumbnails??? Drupal/PHP Developer Tools for Mac OS X. Mapping with Drupal: GMap, Location & Views. Summary These are very rough notes from tom_o_t's session at DrupalCampNYC6 on how to use Drupal for mapping.

Mapping with Drupal: GMap, Location & Views

Feel free to add screenshots, configuration options, etc, and we can contribute back to the GMap documentation page. Other Resources. Lucidly Drupal: Setting up Ubuntu 10.4 Lucid LAMP stack for your Drupal site. [Update: We've recently posted steps for setting up Ubuntu 12.04 Pangolin for Drupal 7.]

Lucidly Drupal: Setting up Ubuntu 10.4 Lucid LAMP stack for your Drupal site

We're frequently setting up servers for development, for staging, for production. I've lately preferred the Debian flavor of Linux, but up until now that had been something of a problem because Debian and Ubuntu did not include the higher-quality php5-gd library, which meant that you either had to compile your own PHP, pull from an alternative source host, or cope with substandard image resizing with limited processing features. But now we have Ubuntu 10.4 LTS "Lucid" and life is good. Lucid comes with PHP 5.3.x and the proper GD2 library! IMCE. IMCE is an image/file uploader and browser that supports personal directories and quota.


Features Basic file operations: upload, deleteImage(jpg, png, gif) operations: resize, create thumbnails, previewSupport for private file systemConfigurable limits for user roles: file size per upload, directory quota, file extensions, and image dimensionsPersonal or shared folders for usersPermissions per directoryFtp-like directory navigationFile sorting by name, size, dimensions, dateTabbed interface for file operationsKeyboard shortcuts(up, down, insert(or enter), delete, home, end, ctrl+A, R(esize), T(humbnails), U(pload)).Built-in support for inline image/file insertion into textareasMultiple file selection(using ctrl or shift)Ajax file operationsThemable layout using tpl files.

HOWTO: Node Listings with Thumbnails using Drupal 5.1, CCK and ImageCache. I needed to apply the concepts outlined at to create a listing of node teasers that contained thumbnail images.

HOWTO: Node Listings with Thumbnails using Drupal 5.1, CCK and ImageCache

That article was written for 4.7 and was useful, but not completely helpful for Drupal 5.1 which I am running. Here's a way to create a teaser list with thumbnails ... keep in mind I am also not a Drupal expert, but a Drupal learner. This is just what worked for me. Note: Currently (4/17/2007), the ImageCache module only works when the "Download method" setting in Drupal's site configuration is set to "Public. " Install the Modules. Site map. This module provides a site map that gives visitors an overview of your site.

Site map

It can also display the RSS feeds for all blogs and categories. Drupal generates the RSS feeds automatically but few seems to be aware that they exist. The site map can display the following items: Sitemap PostgreSQL patch. Views. You need Views if You like the default front page view, but you find you want to sort it differently. You like the default taxonomy/term view, but you find you want to sort it differently; for example, alphabetically. You use /tracker, but you want to restrict it to posts of a certain type. You like the idea of the 'article' module, but it doesn't display articles the way you like.

You want a way to display a block with the 5 most recent posts of some particular type. Views can do a lot more than that, but those are some of the obvious uses of Views. Context-sensitive embedded views. Zen. Zen is a powerful, yet simple, HTML5 starting theme with a responsive, mobile-first grid design. If you are building your own standards-compliant theme, you will find it much easier to start with Zen than to start with Garland or Stark. This theme has fantastic online documentation and tons of helpful code comments in its PHP, HTML, CSS and Sass. Helping with development. Welcome! Contributing code is both an important and effective way to improve the Drupal project and its capabilities. We're delighted to have you join our global community of developers! Separate aliasing for forums and forum containers AND... Drupal. Styling the selected menu item. Content Construction Kit (CCK)

Banners and buttons. Issues for SMTP Authentication Support. Video. XML Sitemap. HOW TO: Create an image gallery using CCK and Views (not Image Module) Since Drupal is headed toward doing as much as possible with CCK and Views, I wanted to try to create a photo gallery using CCK and Views, rather than Image Module (and its included Image Gallery). I also wanted to use Imagecache, which allows for automatically re-sizing (and cropping) of images previously uploaded (Image Module does not do that).

[For those who don’t know, Imagecache stores the original image file you upload, then creates and stores re-sized images based on your Imagecache presets. Down the road you can change those presets and regenerate all of your re-sized images, instead of having to re-upload all of them again. Very cool.] NOTE: there is now the Views Gallery module - worth a try [Drupal 6]; you can then use Views blocks etc. to enhance the gallery. This is what I used: [Note: I did NOT have Image module installed. Imagefield. Reviewing patches.

Issues for Pathauto. What's the best way to integrate images ? A/B/C Taxonomy Dual Views Sitemap. Image Gallery Per User. Free PHP/MySQL script i... Bug in column alters for pgsql. IE6: text not in admin boxes. jQuery: The Write Less, Do More, JavaScript Lib... Postgresql error: field must appear in the GROUP BY. Imagecache. Drupal 6 on OS X 10.6. Running Drupal on OS X 10.5 was a pretty huge pain in the ass. It's much easier in in 10.6 since it includes PHP 5.3 with GD and the PDO out of the box. Strategies for Patch Management. Introduction. Image and Image Exact Sizes vs. Imagefield and ... Introduction. What is the Content Construction Kit? A View fr... How to build Flickr in Drupal. Using the delightful combination of Image and Image Exact Sizes modules, two parts Views, and a dash of theming magic, you too can have your very own Flickr clone... in Drupal!

The Drupal Song. IE6: content floats under left sidebar. Backup and restore using bash shell scripts. Last updated November 21, 2010. Created by joachim on April 19, 2006.Edited by jp2020, cel4145, dale42. Installer script does not work for pgsql. Drupal SEO: How Duplicate Content Hurts Drupal ... Drupal's clean URLs give it a good reputation when it comes to SEO, but there's a lot more you can do under the hood to improve Drupal's search engine friendliness. Today I will show you some Drupal SEO tips to help you avoid duplicate content and boost your search engine ranking. Proper search engine optimization allows you to tap into a significant source of new visitors. What's the best way to integrate images ? Views Bonus Pack. Web Developer for Rock Stars and Progressive Po... Creating patches. SMTP Authentication Support. Akismet. Pgsql db queries give errors.