Image Module

The Image module is the oldest image-related modules in Drupal. It has been an integral part of many I can't believe it's Drupal Web sites, including the online arts community at http www.terminus1525.ca. This module allows users to upload images to Drupal. Images of predefined sizes are automatically created and can be integrated into the site. Specifically, images can be posted individually, included in stories, and grouped into galleries using taxonomy terms. To include a single image per...

Task Based Navigation

Regardless of the type of Web site you have created, there will be some tasks that you need to perform on a regular basis. These tasks may range from creating a simple blog entry to undertaking a more complex series of tasks, such as editing, reviewing, and publishing content submitted by multiple Web site authors. Drupal provides a navigation block for users who are logged into the Web site that contains links to Create Content, Administer the site, and Logout from the site. This block...

Installing Drupaland Common Hurdles to Its Installation

Once your Web server is working, installing Drupal is usually a fairly easy task. You may encounter some small hurdles when setting up the CMS, but these can be overcome quickly. As we walk through the installation process, you will get to know some of them. 1. Download Drupal. Go to http drupal.org and select Drupal 6 in the download section. Unpack it and copy the contents of the Zip file to your document root (or wherever you want Drupal to be located). When copying the package, make...

Task Based Organization

From the very beginning of your Drupal installation, you will be working with task-based organization. Your Web site might include tasks such as adding new content, moderating comments, searching or filtering the content, and viewing recently updated content. Figure 1.11 shows the task-based menu that Drupal provides to help organize these actions. You may also have a set of tasks that are available to different roles within your team of authenticated users. Task-based organization is...

Displaying Content

When designing your Web site's page layout, you must consider how content will be displayed on each page. The decisions you make at this point may affect the way you build your content types later on. Adding more fields to your content type allows you to have greater control over how the information is displayed. For example, the front page of your Web site may have a simple list of titles, each of which leads to a full story alternatively, you may have a more complicated list, where the link...

Page Content Drupal Messages and Help Text

Content is the most important part of your Web site. You must tell Drupal where to insert content into the page template This is done with a simple variable, content. You may place this variable anywhere in the template file page.tpl.php. From this simple variable, Drupal may present a single node, or a list of nodes, or whatever else Drupal may prepare as the content for any given page. You must also print the title for this content using the variable title. It is different than the variable...

Adding Block Editing Capabilities to a Theme

If you have chosen a different parent theme as your subtheme, you will not have access to the Zen Edit block function. Moving the functionality from the Zen theme to your own theme is not difficult, however, and requires only careful copying and pasting. Follow these steps to merge the necessary Zen functions into your own theme 1. Open the Zen theme file template.php and copy the contents of the function zen_preprocess_block. 2. Open your own theme's file template.php and look for the function...

Horizscrollhtml

The horizscroll.html file contains the HTML code that allows the JavaScript code from horizscroll.js to attach its behavior. It also contains all variables for the data source. lt xml version 1.0 gt lt DOCTYPE html PUBLIC - W3C DTD XHTML 1.0 Strict EN lt html xml lang Men lang en gt lt head gt lt meta http-equiv Content-Type content text html charset utf-8 gt lt link rel stylesheet href horizscroll.css type text css gt lt script src jquery.js lt script src drupal.js lt script src horizscroll.js...

Calling the Server with Xml HttpRequest

You almost certainly have heard of AJAX, a term coined in 2005 for the process of loading data within the lifetime of a Web site. AJAX makes it possible to develop Web sites that change their content dynamically without needing to preload all possible content or resorting to reloading the page. AJAX, which stands for Asynchronous JavaScript and XML, is based on the XmlHttpRequest technology introduced by Microsoft in Internet Explorer. XmlHttpRequest was originally created to facilitate the...

Disqus

Disqus pronounced discuss is a service and tool for facilitating web comments and discussions. The Disqus comment system can be plugged into any Web site, blog, or application. It makes commenting easier and more interactive, while connecting Web sites and commenters to create a thriving discussion community. Disqus makes it easier for people to comment and track their contributions on a single profile, which they can display as a comment blog. After all, there really is no difference between a...

Applying a Separate Administrative Theme

Content managers and Web site administrators may be accustomed to having a visually distinct management area within the Web site that looks very different to the public Web site. By default, Drupal uses the same theme for both the administrative and public versions of a Web site. This behavior is unlike that of other Web publishing platforms. For example, WordPress uses an administrative dashboard with a distinct view site link near the top of the page. In Joomla , the administrative area is...