P. 1


|Views: 39|Likes:
Published by vinodcb

More info:

Published by: vinodcb on Oct 12, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less






  • Drupal handbook
  • General information about Drupal
  • Drupal aims
  • The Drupal community: structure and roles
  • Download Drupal, modules, themes and translations
  • Drupal 4.6 roadmap
  • Drupal case studies
  • Drupal hosting and services
  • Drupal presentations and articles
  • Druplicon (the logo)
  • Feature overview
  • Sites that use Drupal
  • Where does the name 'Drupal' come from?
  • Donating to the Drupal project
  • User's guide
  • Basic concepts
  • Registering and logging in
  • Changing your account settings
  • Creating new content
  • Creating comments
  • Adding "nodes" (stories, forum topics, etc.)
  • Creating a story
  • Alternative ways to enter content
  • Posting and editing content with w.bloggar
  • Editing and deleting content
  • Administrator's guide
  • Installation
  • System requirements
  • Installation process
  • Installing Drupal in a subdirectory
  • Linux specific guidelines
  • Installing PHP, MySQL and Apache under Linux
  • Moving Your Drupal Installation To A New Directory
  • MS SQL Server Guidelines
  • OSX Specific Guidelines
  • PostgreSQL specific guidelines
  • Installing PostgreSQL on Windows
  • Windows specific guidelines
  • Installing Apache (with PHP) on Windows
  • Installing MySQL on Windows
  • Installing PHP4 on Windows
  • Using Clean URLs with IIS
  • Installing Drupal on Windows
  • Installing Drupal on Windows Ext
  • Windows XP IIS development test system guidelines
  • Installing new themes
  • Migrating from other weblog software to Drupal
  • Migrating from ezPublish
  • Move ezp database content to drupal database
  • Parse ezxml (in perl, with LWP::UserAgent)
  • Get ezpublish user real names for drupal profile.module
  • Migrating from Geeklog
  • Migrating from LiveJournal
  • Import your LJ through an IFRAME held in a Book Page or similar
  • Using provided Import Module
  • Use the Livejournal Module to import the raw data into Drupal
  • Migrating from Movable Type
  • Extract Movable Type content as xml
  • Moving your MT styles and templates
  • Template for MT entry and comment export and Drupal import
  • Parse xml into sql insert statements
  • Insert content into drupal nodes
  • Setting terms for inserted nodes
  • Migrating from PHPNuke
  • Migrating themes
  • Migrating users
  • Migrating from PostNuke
  • Configuring mod_rewrite in .htaccess for PN legacy URLs in
  • More than one drupal site on one machine
  • Multiple directories
  • Multiple domains or vhosts
  • Multiple domains or vhosts using different databases
  • Multiple domains using the same database
  • Tuning your server for optimal Drupal performance
  • Tuning PHP
  • PHP Caches
  • Turck MMCache
  • Configuration
  • Customizing the interface
  • Customizing user login
  • Congestion control: tuning the auto- throttle
  • Adding syndicated content (newsfeeds, RSS) to your site
  • Database table prefix (and sharing tables across instances)
  • redirecting hostname.domain.tld to specific page
  • The tolerant Base URL
  • Drupal modules and features
  • A blog for every Drupal user
  • Auto-throttle: congestion control
  • Collaborative book or documentation writing
  • Printing PHP Variables from GET or POST Forms
  • Comment system
  • Cron system and crontab
  • Directory Server (Drupal Sites)
  • Discussion forums
  • Drupal as a news aggregator
  • Drupal terminology
  • Extending user information (profiles)
  • Locale or internationalization support
  • Moderation, collaborative rating
  • Moderation queue
  • Comment rating
  • Polls or enquetes
  • Post content using the Blogger API
  • Putting blocks with content in the sidebars
  • Search configuration
  • Statistics, top nodes and access log
  • Support for static pages
  • Taxonomy (alias sections and categories)
  • Creating a Block with links belonging to certain taxonomy terms
  • Tracker
  • URL aliasing
  • Watchdog
  • Weblogs.com, technorati.com and blo.gs notification
  • User management system
  • Using distributed authentication
  • Upgrading from previous versions
  • Upgrading from Drupal 2.00 to 3.00
  • Upgrading from Drupal 3.00 to 4.00 and later versions
  • Backups
  • Troubleshooting FAQ
  • Installation / Configuration
  • "headers already sent" error
  • "method POST is not allowed for the URL /index.htm" Error
  • .htaccess page forbidden
  • E-Mail from Drupal is Bouncing or not being Sent
  • How can I adminstrate my navigation on my drupal site?
  • How do I unset the clean urls?
  • no content on main page for non admin users
  • PHP Safe Mode Issue
  • What is the minimum version of PHP?
  • Nodes
  • cant create static php page
  • PHP content won't parse
  • Schedule and Expire Nodes
  • Search
  • Search index db empty / incomplete
  • search multibytes language
  • Blocks
  • Custom Blocks Repository
  • Block to show all published content in a list
  • latest comments
  • Latest stories block
  • Submission queue block
  • How to show blocks only in certain pages
  • Polls
  • Are polls supported in Drupal?
  • Can a user vote more than once in a poll?
  • Miscellaneous
  • How can I change Drupal's character encoding? (UTF-8 and Unicode)
  • How do I report a bug in Contributed modules
  • Making a custom script work (independently) along with a Drupal setup
  • Move existing site to new server
  • Moving your site to another url
  • My URL is wrong in the list of Drupal Sites
  • truncated fields / unable to login / php 4.2.3 bug
  • How to install a Patch?
  • Contributor's guide
  • Contributing to Drupal
  • Bug reports
  • Feature suggestions
  • Task List
  • The revision process
  • Criteria for evaluating proposed changes
  • Tips for contributing to the core
  • Mailing lists
  • Accessing the Drupal mailing lists using a news server
  • Mailing of project issues
  • Coding standards
  • Drupal Coding Standards
  • PHP Code tags
  • SQL naming conventions
  • CVS repositories
  • Main repository
  • Contributions repository
  • CVS front ends for Windows
  • CVS On Mac OS X
  • Step By Step CVS
  • Apply for contributions CVS access
  • Using CVS with branches and tags
  • Tracking Drupal source with CVS
  • Sandbox maintenance rules
  • PHP Debugger
  • APIs and functions (Doxygen)
  • Doxygen Formatting Conventions
  • Creating and sending your patches
  • Diff and patch
  • Diff and patch on Windows
  • diff
  • patch
  • diff and patch
  • Rules of reviewing patches
  • Maintaining a project on drupal.org
  • Drupal.org site maintainers
  • Drupal test suite
  • Module developer's guide
  • Introduction to Drupal modules
  • Drupal's page serving mechanism
  • Tips for database compatibility
  • Updating your modules
  • Converting 3.0 modules to 4.0
  • Required changes
  • Converting 4.0 modules to 4.1
  • Optional changes
  • Converting 4.1 modules to 4.2
  • Converting 4.2 modules to 4.3
  • Creating modules: post 4.3.1
  • Converting 4.3 modules to 4.4
  • Converting 4.4 modules to 4.5
  • Converting 4.5 modules to HEAD
  • Writing a node module
  • Writing efficient database JOINs
  • Drupal's menu building mechanism
  • Drupal's node building mechanism
  • 'Status' field values for nodes and comments
  • Writing themable modules
  • Theme developer's guide
  • Theming overview
  • XTemplate theme engine
  • Creating a new template
  • Template Basics
  • Header Section
  • Node Section
  • Comment
  • The Section
  • Footer
  • Editing With Golive
  • PHPTemplate theme engine
  • Creating a new PHPTemplate
  • Block.tpl.php
  • Box.tpl.php
  • Comment.tpl.php
  • Node.tpl.php
  • Page.tpl.php
  • Overriding other theme functions
  • Plain PHP themes
  • Suggestions for theme coding style
  • Updating your themes
  • Converting 3.0 themes to 4.0
  • Converting 4.0 themes to 4.1
  • Converting 4.1 themes to 4.2
  • Converting 4.2 themes to 4.3
  • Converting 4.3 themes to 4.4
  • Converting 4.4 themes to 4.5
  • Converting 4.5 themes to HEAD
  • Theme screenshot guidelines
  • Adding your theme to Drupal.org
  • Documentation writer's guide
  • How and when do I add a page?
  • How and when do I update a page?
  • What is this book about?
  • Adding screenshots
  • Translator's guide
  • Translation templates
  • Programs to use for translation
  • Translation guidelines
  • Translation of contributed modules
  • Distributing the translation effort
  • Status of the translations
  • Make a single file from the loose .po files from CVS
  • Recycling old translations
  • Troubleshooting
  • Weird characters or question marks
  • Marketing resources
  • Booklet
  • Druplicon
  • Powered by Drupal logos
  • Presentations
  • Reviews
  • Posters
  • About the handbook
  • Commenting on the handbook pages
  • Copyright and licensing

Simple usage

Some web hosts limit their customers to one database. Thus, no duplicate table
names are possible. In order to assure that these admins can still use Drupal, and
even use multiple installations of Drupal, Drupal offers table prefixing.

In order to use this feature, you must currently edit your database/database.x
script in order to create tables prefixed by the string of your choice. For example,
change all statements from the format of

CREATE TABLE access to CREATE TABLE dr1_access.

24iX Systems, Alte Kirchstr. 11, 56414 Steinefrenz
Web: www.24ix.de , Email: info@24ix.de
Tel.: 07000 7000 850

Then use dr1_ (for example) as value of $db_prefix in your includes/conf.php

Advanced usage

Table prefixing may be optionally applied to some tables and not others. This has
the effect that multiple Drupal installations can share common tables. One
interesting application for this is to share the taxonomy tables (vocabularies,
term_data). Another interesting use is to share users across Drupal installations.

In order to use this capability, create two drupal installs in same DB using
different database prefixes. In this example, one is prefixed 'master_' and the
other 'content_only_'. Then edit the conf.php file of 'content_only_' so that it
points some tables to the 'master_'. For sharing users, add the following:

$db_prefix = array(
"default" => "content_only_",
"users" => "master_",
"sessions" => "master_",
"role" => "master_",
"authmap" => "master_"
"sequences" => "master_"

Super advanced usage

[tested only on mysql so far] It is possible to keep the multiple Drupal
installations in different databases but still share common tables. To do this,
specify the database name as part of the prefix. For example,

$db_prefix = array(
"default" => "content_only.",
"users" => "master.",
"sessions" => "master.",
"role" => "master.",
"authmap" => "master."
"sequences" => "master."

In the example above, content_only and master are databases.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->