Article Network

Drupal 7: Customizing an Existing Theme

by Ric Shreves | July 2011 | Drupal Open Source Web Development

This article by Ric Shreves, author of Drupal 7 Themes, focuses on sub-theming. The article covers how to quickly and easily build a proper sub-theme and then how to use that sub-theme to create a customized look and feel for a Drupal site. Through the implementation of a sub-theme, the themer is able to leverage the power of an existing base theme while retaining the flexibility needed to customize virtually every element of the styling and the structure.

For the purpose of illustrating the examples in this article, we'll be using the Bartik theme, which is included in the default Drupal 7 package. Among the topics we will cover:

  • Selecting a base theme
  • Creating a sub-theme
  • Customizing your sub-theme
Read Drupal 7: Customizing an Existing Theme in full

Drupal 7 Themes: Dynamic Theming

by Ric Shreves | July 2011 | Drupal Open Source PHP Web Development

The Drupal system, backed by the powerful PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific page elements in response to the existence of certain conditions. This article by Ric Shreves, author of Drupal 7 Themes, reviews different techniques available for creating templates that are responsive to the conditions on the screen.

Among the techniques covered in this article are:

  • Working with the Administration theme
  • Using template suggestions to control display by page, node, or block
Read Drupal 7 Themes: Dynamic Theming in full

Drupal 7 Themes: Creating Dynamic CSS Styling

by Ric Shreves | July 2011 | Drupal Open Source PHP Web Development

Not only can you make the display of templates and elements dynamic, but you can also tap into similar logic for your CSS styling. This article by Ric Shreves, author of Drupal 7 Themes, reviews different techniques available for creating styles that are responsive to the conditions on the screen like the content being displayed, or the user viewing the content.

Among the techniques covered in this article are:

  • The use of $classes to create dynamic CSS styling
Read Drupal 7 Themes: Creating Dynamic CSS Styling in full

Drupal 7 Social Networking: Managing Users and Profiles

by Michael Peacock | September 2011 | Drupal Open Source

Social Networks are a relatively new aspect to the Web that are really taking off. Many businesses, organizations, communities, and families are using social networking to promote themselves, communicate better with others, and to engage with their audience. This article uses Drupal, a powerful and extendable Content Management System (CMS), to set up and manage a social networking website.

In this article by Michael Peacock, author of Drupal 7 Social Networking, we will learn:

  • How to manage users, roles, and their permissions
  • About Gravatars and how to enable them
  • How users can track the activity of each other
  • How to extend user profiles
  • About settings and rules for users
  • How to give authenticated users a more relevant home page
Read Drupal 7 Social Networking: Managing Users and Profiles in full

Drupal 7 Preview

by Trevor James | August 2010 | Content Management Drupal Open Source

There are approximately 38 critical issues that need to be resolved before Drupal 7 beta gets released. For more on these beta blocker issues check out: http://drupal.org/community-initiatives/drupal-core. In this article by Trevor James we will install Drupal 7 alpha, test it out, and ultimately help to fix the critical issues and speed up the beta release.

Read Drupal 7 Preview in full

Drupal 7 Module Development: Drupal's Theme Layer

by John Wilkins | December 2010 | Drupal Open Source

The most obvious part of Drupal's theming system is the Appearance page, which lists all of the themes installed on your website. When you choose a theme from the Appearance admin page, you are applying a specifc graphic design to your website's data and functionality. However, the applied theme is in reality only a small part of the entire theming layer.

Since we're building a web application, everything outputted by your functionality will need to be marked up with HTML. Drupal calls the process of wrapping your data in HTML and CSS as theming.

In this article, by John Wilkins, author of Drupal 7 Module Development,we will discuss about the architecture of the system, theme functions, templates, render elements, and the theme registry.

Read Drupal 7 Module Development: Drupal's Theme Layer in full

Drupal 7 Fields/CCK: Using the Image Field Modules

by Dave Poon | July 2011 | Open Source

One of the most important milestones in Drupal was the Content Construction Kit (CCK). Most of this module has been integrated into Drupal 7 core. It is now called Field API. So when you install Drupal 7, it will come with this powerful module in core, and you can start to create custom fields for your site without downloading an extra module.

In the previous article by Dave Poon, author of Drupal 7 Fields/CCK Beginner's Guide, we learned how to add file fields to content types, and how to configure file fields.

In this article, we shall learn about:

  • Adding image fields to content types
  • Configuring image field settings
  • Creating custom image styles
Read Drupal 7 Fields/CCK: Using the Image Field Modules in full

Drupal 7 Fields/CCK: Using the File Field Modules

by Dave Poon | July 2011 | Open Source

Drupal is not only an open source CMS, but is also a web application development framework. The extensible and flexible architecture of Drupal can be used for any size of business including freelancers, agencies, governments, universities, and enterprises. The White House, Digg, Fast Company, Sony Music, McDonald's, and Stanford University are all using Drupal for their sites.

One of the most important milestones in Drupal was the Content Construction Kit (CCK). Most of this module has been integrated into Drupal 7 core. It is now called Field API. So when you install Drupal 7, it will come with this powerful module in core, and you can start to create custom fields for your site without downloading an extra module.

In this article by Dave Poon, author of Drupal 7 Fields/CCK Beginner's Guide, we shall learn about:

  • Adding and configuring file fields to content types
  • Using file fields
Read Drupal 7 Fields/CCK: Using the File Field Modules in full

Drupal 7 Fields/CCK: Field Display Management

by Dave Poon | July 2011 | Open Source

One of the most important milestones in Drupal was the Content Construction Kit (CCK). Most of this module has been integrated into Drupal 7 core. It is now called Field API. So when you install Drupal 7, it will come with this powerful module in core, and you can start to create custom fields for your site without downloading an extra module.

In this article by Dave Poon, author of Drupal 7 Fields/CCK Beginner's Guide, we shall learn about:

  • Field display
  • Formatting field display on Teaser view
  • Custom display settings
  • Formatting image field display on full content
  • Formatting comment field display
  • Formatting vocabulary field display
Read Drupal 7 Fields/CCK: Field Display Management in full

Drupal 6: Theme Engines and Sub-themes

by Karthik Kumar | November 2010 | Content Management Drupal Open Source

Themes are among the most powerful and flexible features available when it comes to the presentation of a website. The greatest strength of Drupal lies in its design which, when done correctly, allows developers and designers to customize and micromanage each and every aspect of the site.

In this article by Karthik Kumar, author of the book Drupal 6 Theming Cookbook , we will cover the following recipes:

  • Understanding the anatomy of a theme
  • Creating a sub-theme based on a core theme
  • Overriding base theme elements in a sub-theme
  • Changing the screenshot image of a theme
Read Drupal 6: Theme Engines and Sub-themes in full

Drupal 6: Attachment Views, Page Views, and Theming

by J. Ayen Green | February 2010 | MySQL Content Management Drupal PHP Web Development

This article by J.Ayen Green, author of Drupal 6 Attachment Views, gives us an introduction to Attachment Views in Drupal.

Here's what we'll do in this article:

  • Learn what an Attachment view is
  • Learn what you can do with an Attachment view
  • Consider in what situations an Attachment view can be useful
  • Cover basic view theming
  • Create a Page view
  • Create an Attachment view
  • Theme the view
Read Drupal 6: Attachment Views, Page Views, and Theming in full

Drupal 6 Theming: Adding and Optimizing CSS Files

by Karthik Kumar | November 2010 | Content Management Drupal Open Source

Themes are among the most powerful and flexible features available when it comes to the presentation of a website. The greatest strength of Drupal lies in its design which, when done correctly, allows developers and designers to customize and micromanage each and every aspect of the site.

The previous article by Karthik Kumar, author of the book Drupal 6 Theming Cookbook , explained the concept of theme engines and sub-themes.

In this article we will take a look at the following recipes:

  • Including a CSS file in a theme
  • Enabling CSS optimization
  • Creating the mysite module to hold our tweaks
  • Adding a CSS file from a module
  • Displaying a different theme for each day of the week
  • Creating a fresh look using the color module
Read Drupal 6 Theming: Adding and Optimizing CSS Files in full

Drupal 6 Social Networking: Communicating with Users

by Michael Peacock | February 2009 | Content Management Drupal Open Source

Our users can communicate with one another, which is great, but quite often as an administrator the need may arise for us to communicate with a user or users on our site. It may be to remind them about the web site or to inform active users about new changes to the site, which they may not have been made aware of.

In this article by Michael Peacock, you will learn:

  • About mailing lists, and how to use them with our Drupal social network
  • How to use an offline approach for contacting our users
  • How to use blocks of content to get a message across to your users
Read Drupal 6 Social Networking: Communicating with Users in full

Drupal 6 Performance Optimization Using Views and Panels Caching

by TJ Holowaychuk Travis Tidwell | February 2010 | Content Management Drupal Open Source PHP

In this article by Trevor James and TJ Holowaychuk, authors of Drupal 6 Performance Tips, we'll look at caching mechanisms in two of the larger scale contributed modules, Views and Panels, which you may find yourself using frequently. Panels and Views both allow you to cache the data and content that you insert into these modules. We'll look at how these caching mechanisms work and how you can maintain your cache in both modules. To summarize, here's what we'll be doing:

  • How to run Views 2.x for best performance, including how to clear your Views cache
  • Panels module caching mechanisms and how to maintain your Panels cache
Read Drupal 6 Performance Optimization Using Views and Panels Caching in full

Drupal 6 Performance Optimization Using Throttle and Devel Module

by TJ Holowaychuk Trevor James | February 2010 | Content Management Drupal Open Source PHP

In this article by Trevor James and TJ Holowaychuk, authors of Drupal 6 Performance Tips, we're going to learn how to throttle modules and blocks on our site in order to increase performance and reduce server load during high traffic periods. We will use the Throttle module to do this. We'll also discuss the Devel module and how it can be used to generate dummy content, users, and taxonomy categories for our development site. Using Devel to generate test or dummy content provides an easy method of building a test or demo site quickly. To summarize, here's what we'll be doing:

  • Throttling modules and blocks
  • Using the Development module to generate taxonomy, users, and content
Read Drupal 6 Performance Optimization Using Throttle and Devel Module in full

Drupal 6 Performance Optimization Using DB Maintenance and Boost: Part 1

by TJ Holowaychuk Trevor James | March 2010 | MySQL Content Management Drupal Open Source PHP

In this two-part article by Trevor James and T J Holowaychuk, authors of Drupal 6 Performance Tips, we're going to install, configure, and utilize the DB Maintenance and Boost modules. DB Maintenance will allow us to maintain and optimize our MySQL database from within the Drupal admin interface. Boost will help us to speed up page load times on our site for our anonymous site users by using its sophisticated and advanced page, HTML, CSS, and JavaScript caching mechanisms. Both of these contributed modules will help you diagnose problems on your site and server as well as help to keep your site running smoothly and in an optimized fashion.

By the end of this article you will know how to install, configure, and use the following contributed performance modules:

  • DB Maintenance module
  • Boost
Read Drupal 6 Performance Optimization Using DB Maintenance and Boost: Part 1 in full

Drupal 6 Content Construction Kit (CCK)

by David Mercer | February 2009 | Content Management Drupal Open Source

It is likely that at some stage, you will want to upgrade at least some content from plain text to something that looks a little out of the ordinary. In this article by David Mercer, we will have a look at the CCK module provided by Drupal which is used to build custom content types that can be tailored to suit your needs. In effect, it gives you control over which fields are presented to a user whenever they post content using custom content types. The term field refers to a given piece of content within a node. Conversely, a node is a collection of fields.

In addition to the basic field types provided by the CCK module, you should also keep an eye out for contribs that extend CCK functionality to provide a huge range of useful field enhancements. Everything from Brazilian ID numbers to validated email fields, voting widgets and Amazon ASINS have been made available in the past.

Read Drupal 6 Content Construction Kit (CCK) in full

Drools JBoss Rules 5.0:Complex Event Processing

by Michal Bali | September 2010 | JBoss Open Source

In this article, by Michal Bali, author of Drools JBoss Rules 5.0, we'll look at implementing a banking fraud detection system. It is an ideal candidate for CEP. The volume of events in a banking system is huge and we need to be able to do complex decisions based on these events.

We'll specifically cover:

  • CEP and ESP
  • Drools Fusion
  • Fraud detection
Read Drools JBoss Rules 5.0:Complex Event Processing in full

Drools JBoss Rules 5.0 Flow (Part 2)

by Michal Bali | July 2009 | Java Open Source

In this two-part article by Michal Bali, we'll look at Drools flow in detail by building a loan approval process. In the first part we covered: faults, subflows, and decisions.

In this part of the article we'll cover: Transfer Funds work Item, human tasks, and other aspects of ruleflow.

Read Drools JBoss Rules 5.0 Flow (Part 2) in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software