Create Content

Once you have created field for your content type, given them weights and put them in groups, and set up the display options, you're ready to create new content. Go to node add story (or select 'Create content' in your navigation, then choose the content type you added your fields too), and you will see an edit form that contains your new fields. Test that the fields behave as you intended by filling them out and saving the form. That's it, you've now created custom fields in your content type...

CRON tasks

Many Drupal modules such as the search functionality and maintenance to clear log files and cache have periodic tasks that must be triggered by a scheduled job. To activate these tasks, call the cron.php page by visiting http www.example.com cron.php --this will pass control to the modules and the modules will decide if and what they must do. Most UNIX based systems support the crontab utility for scheduling tasks like this. See cron MAN pages for more specific or additional configuration...

Add a New Field

Go to admin build content where you will see a list of content types that are available. There are a couple included as a part of a standard Drupal installation, and you can use one of them or add a new content type of your own. For our example, let's add some fields to the 'story' content type. Choose the option to 'edit' the 'story' type. Once you get to the screen where you can edit the content type, you will see additional tabs that say 'Manage fields', 'Display fields', and 'Add new...

Drupal Features How To Menu Links

Menus are a collection of links menu items used to navigate a website. The menu module provides an interface to control and customize the powerful menu system that comes with Drupal. Menus are primarily displayed as a hierarchical list of links using Drupal's highly flexible blocks feature. Each menu automatically creates a block of the same name. By default, new menu items are placed inside a built-in menu labelled Navigation, but administrators can also create custom menus. Drupal themes...

Technology Stack

Drupal is part of a technology stack. It's performance depends on a lot of factors. Server - A server is a computer device which provides information or services to computers on a network. Operating System - The software that the rest of the computer depends on to work. Unix, Linux, BDSD and Windows. Database - A structured collection of records. Drupal uses a database to store most content for your site. Webserver - The software component responsible for serving web pages. Examples are Apache...

Order matters

When an input format consists of more than one filter, the ordering of the filters has a huge impact on what the final output is. The Filtered HTML input format has three filters, the URL Filter, the HTML Filter, and the Line Break Converter. Here is the order in which they are executed in a new Drupal installation lt h1 gt The quick brown fox jumps over the lazy dog. lt h1 gt King Phillip came over from lt em gt Germany lt em gt swimming. lt br gt lt br gt Every good boy deserves fudge. The...

Create database with PostgreSQL

The database must be created with UTF-8 Unicode encoding. This step is only necessary if you don't already have a user setup e.g. by your host or you want to create new user for use with Drupal only. The following command creates a new user named username and asks for a password for that user createuser --pwprompt --encrypted --no-adduser --no-createdb username If everything works correctly, you'll see a create user notice. This step is only necessary if you don't already have a database setup...

Edit disable primary links

In this example you will learn how and where to modify the 'Edit primary links' on a new Drupal install On new sites you have this link in the upper right hand corner that says Edit primary links To add an item to the Primary links menu 1. Click on Edit primary links. This takes you directly to the menu page. You can see the navigation path on the left Administrator gt Site building gt Menus rv'enus ajJll iyih iu Add nwiu cam Soufras Hcnus are a cufccbar of Nnlcs- ktu items used to nam pote a...

Input Formats and User Roles

Not all Drupal users are created equal. Some are anonymous users, some are authenticated users, and some have other user roles that allow them to have greater privileges than normal authenticated users. Furthermore, one Drupal user on every site is the super-user user 1 who can do anything. The privilege of using an input format can be assigned to users on a per-role basis. This is an important mechanism that exists for allowing some trusted users to have access to some filters while denying...

CMS vs CMF

Drupal is also a solid Content Management Framework. Frameworks allow site owners to make unique customiza-tions to their site by providing a standardized way to interact with the core components. In order to truly extend a site you may have to delve into some code. You can do this by writing PHP snippets for specific pages or blocks, customizing existing contributed modules to your liking or writing complete modules to do exactly what you want. All this while still leveraging the built in core...

Druplicon the logo

After Drupal had been created, an obvious matter was the choice and creation of a logo. Of course it would have to do something with a drop or water. The initial idea was simple a drop in a circle. It was featured as an O in a liquidish Drop. When the community grew, the idea came up of a cartoony drop with a face. Steven Wittens created a 3D drop, but the idea didn't get too far mainly because 3D is hard to print, hard to edit, etc. When the logo-issue had come up again, Kristjan Jansen came...

Throttle

If your site gets linked to by a popular website, or otherwise comes under a Denial of Service DoS attack, your webserver might become overwhelmed. This module provides a congestion control throttling mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal modules to automatically optimize their performance by temporarily disabling CPU-intensive functionality. Auto-throttle on anonymous users The congestion control throttle can be...

Manage Fields

Once you have at least one field created, this screen becomes your main place to see and organize your fields. You'll see both fields you have created with CCK and fields added by other modules that CCK can't control. For instance, you'll see the content 'Title' and 'Body' on this screen. Each field has a weight that controls the order it appears when content is created or edited. If you have enabled the Fieldgroup module, you'll see your fields organized by groups. On this screen you can...