Skip to Content

Blogs

Drupal Multisite Setup

Debian (Ubuntu)

1. Configure Apache2 for Sites :

Before you jump to configure your virtual hosts do not forget to add host names in /etc/hosts file.

your.ip.add.res vritualhost_1.name
your.2.ip.add.res virtualhost_2.name

2. Apache2 needs to be configured to support vhost access to your new sites.

Create vhost site configuration files in /etc/apache2/sites-available/

#
# Virtual hosting configuration for Drupal
#


ServerAdmin [your email address]

DocumentRoot /usr/share/drupal6/
ServerName [your vhost#1 name]

Multilingual site Drupal Tutorial 10 steps

1. Download and install Drupal.
2. Enable the Locale module
3. Download the module i18 ie. internationalization module and enable all its sub modules for translation.
4. Download the Translations from the http://drupal.org/project/Translations link and extract those in the drupal home folder. You can use following video for the reference link ie. http://www.lullabot.com/videocast/installing-drupal-translation.
5. Go to content type that you want to translate and select
Enabled, with translation the workflow settings. Also

52 Changes in Drupal 7 Theme structure

1. more Meaning full IDS are used.
example :
Recent blog posts
Old CSS ID (Drupal 6): block-blog-0
New CSS ID (Drupal 7): block-blog-recent

similarly for following,
Book navigation
Old CSS ID (Drupal 6): book = navigation
Recent comments
Active forum topics
New forum topics
Language switcher
Syndicate
Most recent poll
Author information
Search form :
Popular content :block-statistics-popular
Powered by Drupal :block-system-powered-by
User login : block-user-login
Navigation : block-system-navigation
Who's new : block-user-new
Who's online : block-user-online

Creating your Drupal site mobile compatible

First thing you should do is to install few addons to the Firefox browser which are as follows :
A. User Agent Switcher
B. Modify Headers

Now, we need to add a x-wap-profile HTTP Header. Most intelligent mobile Web sites look for this header to identify a mobile device. To my knowledge, only the iPhone doesn’t pass this HTTP Header. You can search around the Web to find UA Profile URLs (type “UAProf URL List” into a search engine).

Here’s the UA Profile URL for Nokia’s X6:
http://nds1.nds.nokia.com/uaprof/NokiaX6-00.1r100-3G.xml

Pages

Subscribe to RSS - blogs