How to install Drupal for newbies using Windows FTP and phpMyAdmin

There are three things to do upload the database, get drupal ready and change tmp on your drupal site. 1. Login to your phpMyAdmin (on your server). 2. Click Create new database. - name it drupal (or whatever you like). 3. You should see drupal at the top of the left column. Click drupal. 4. In the center column you should see some tabs to choose from. Click SQL. 5. At the bottom of the box that comes up it says, Location of the textfile and there's a button that says, Browse. Click Browse and...

Autothrottling modules

In Drupal 4.4 and higher (or the latest CVS version), it is also possible to configure entire modules to be automatically disabled when the auto-throttle reaches a maximum level of 5, once again indicating that your site is currently experiencing a severe load. To throttle modules, go to the module administration page on your site at administer > configuration > modules. Now, for any module that should be disabled when your site is under a severe load click the throttle checkbox. Deciding...

Configuring modrewrite in htaccess for PN legacy URLs in

I'll be migrating Kairosnews from PostNuke to Drupal CVS this weekend. Since the site has almost 2000 stories, I'm concerned about the fact tha any links to them from around the web will go dead. Some consolation is that the .htaccess rules will take those dead links and refer them to the home page instead of 404ing them. Can . htaccess be configured to rewrite the urls The node ids will be taken from the current story id's, so that part will not be a problem. The current PN default story url...

Mass URL aliasing

Drupal also comes with user defined mass URL aliasing capabilities. You might like to see completely different URLs used by Drupal, or even URLs translated to the visitors' native language, in which case this feature is handy. Only an administrator with access to the website source code can set up this kind of aliases. You can define a conf_url_rewrite function in conf.php, following this example function conf url rewrite( path, mode 'incoming') if ( mode 'incoming') URL coming from a client...

Installing Drupal on Windows

Upgrading an Existing Drupal Site Drupal requires a web server, PHP4 (http www .php.net ) and MySQL or a database server supported by the PHP PEAR API (http pear.php.net ). NOTE The Apache web server and MySQL database are strongly recommended other web server and database combinations such as IIS and PostgreSQL are possible but tested to a lesser extend. I strongly recommend a complete web server packaged installer if you are at all new to Apache, MySQL or...

Overview

This page will be of most benefit to Drupal users that have their websites hosted on a shared server. When you have little or no control over how your webserver is tuned, it can be extremely difficult to prepare for unexpected loads, such as a link from Slashdot. The steps below describe Drupal's built in congestion control mechanism, the auto-throttle, and walks you through its configuration. Please note if you have complete control over the server that's hosting your website, you should tune...

Search engine friendly and robotstxt

Drupal by it self is very search engine friendly. For example it is not uncommon for drupal based sites to have have a google ranking of 5 (out of 10) or more where using the same content on another CMS would score much lower. Still, you can make drupal even more search engine friendly by changing some default parameters. On this page you will find severals ways of tweaking your drupal instalation to make it more search engine friendly. First of all you might want to enable friendly URL's Then,...

Table of Contents

18 contaire.com - A Corporate Website Based On Drupal 21 Why Linux Journal converted to Drupal and how it went 25 28 Download Drupal, modules, themes and 31 35 Gerhard Heydon Consulting - Gordon 38 Rolling your own system vs using Where does the name 'Drupal' come Donating to the Drupal Creating Adding nodes (stories, forum topics, Alternative ways to enter Posting and editing content with 56 Editing and deleting General 60 How to install Drupal for newbies using Windows, FTP and 70 Upload the...

General Instructions

Here is the procedure for installing drupal on a Linux or Unix system. This chapter describes the generic installation procedure for drupal as well as detailing some installation instructions for specific configurations. 1. Download the distribution tar-ball and unzip it into the directory you want to serve web files from tar -zxvf drupal-x.x.x.tar.gz 2. Create a MySQL database for your drupal site (if you haven't already) mysqladmin create database_drupal 3. Create a user for your MySQL...

Search Engine Friendly Migration

The biggest pain for me, having just migrated from Geeklog to Drupal is that my site has a good index in google and other search engines. All those users finding my site on Google are suddenly getting the 404 error page, giving up, and going away when they could dig a bit deeper and find exactly what they were looking for. So, I harnessed my experience writting HTTP_REFERER logging systems for geeklog to provide myself with a Page with PHP enabled content to parse the Search Engine query from...

What is content management

Drupal is a content management system. This means it's a system for managing website content--like articles, photos, or other files. Drupal is a dynamic rather than a static system. Instead of being in pre-generated (static) files, content like the text on pages is stored in a database. When visitors bring up a page, a script runs on the web server, querying the database and putting the content of the page into a template. (Sometimes, to save time and resources, these scripts are run ahead of...

Collaborative book or documentation writing

The book organises content into a nested hierarchical structure. It is particularly good for manuals, Frequently Asked Questions (FAQs) and the like, allowing you to have chapters, sections, etc. A book is simply a collection of nodes that have been linked together. These nodes are usually of type book page, but you can insert nodes of any type into a book outline. Every node in the book has a parent node which contains it. This is how book.module establishes its hierarchy. At any given level...

Maintaining a FAQ using a collaborative book

Collaborative books let you easily set up a Frequently Asked Questions (FAQ) section on your web site. The main benefit is that you don't have to write all the questions answers by yourself - let the community do it for you In order to set up the FAQ, you have to create a new book which will hold all your content. To do so, click on the create content book page link. Give it a thoughtful title, and body. A title like Estonia Travel - FAQ is nice. You may always edit these fields later. You will...

Naming Conventions Functions and Methods

Functions and methods should be named using lower caps and words should be separated with an underscore. Functions should in addition have the grouping module name as a prefix, to avoid name collisions between modules. Private class members meaning class members that are intended to be used only from within the same class in which they are declared PHP 4 does not support truly-enforceable private namespaces are preceded by a single underscore. For example

How do I unset the clean urls

After enabling the clean urls in configuration all content is inaccessible, because the system you run drupal on, does not support all clean urls. Clean urls are those fancy looking addresses instead of www.server.com q foo bar you see www.server.com foo bar with clean urls. Problem is that you cannot set it back, because you cannot browse to the specific page anymore. The first one is very handy if you have mysql access. Run the mysql command UPDATE variable SET value 's 1 0 ' WHERE name...

The tolerant Base URL

Instead of using a hard coded domain as your base_url in the includes conf.php file, you might want to use base_url 'http' . _SERVER 'HTTPS' 'on' 's' '' base_url . ' ' . _SERVER 'HTTP_HOST' if dir trim dirname _SERVER 'PHP_SELF' , ' , ' This has the advantage that whatever domain the user used to get to the site, he will maintain throughout his session. Email notifcations may be issued under the domain which is used by the poster. If you access your site using http localhost, you could send...

Open SourceHost

OpenSourceHost is a specialized web hosting company focusing on providing quality web space and support for open source content management systems, as well as other open source software systems. For Drupal hosting, we provide graphical installation instructions, and if you take advantage of our special offer at http drupal.opensourcehost.com you will receive an additional 100 megs of space and 1 gig of bandwidth added to the hosting package of your choice.

Drupal Coding Standards

Note The Drupal Coding Standards applies to code that is to become a part of Drupal. This document is based on the PEAR Coding standards. Use an indent of 2 spaces, with no tabs. These include if, for, while, switch, etc. Here is an example if statement, since it is the most complicated of them if conditionl condition2 actionl elseif condition3 amp amp condition4 action2 Control statements should have one space between the control keyword and opening parenthesis, to distinguish them from...

How to install a Patch

Patch thread, but I guess I'm missing something. Perhaps that's because it's about creating a patch, not installing a patch. Could someone please explain Does a patch patch the SQL tables Is patch a MySQL command or just a descriptive suffix If this affects the MySQL database, is there a way to install it using phpMyAdmin Does a patch patch the module file If so, how Is it a php program Do I ftp it and point to it with a browser What is it I'm not asking that I should be...