O'Reilly logo

Drupal 7 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Drupal Theme Basics

We will be covering the following recipes in this chapter:

  • Installing and enabling a theme
  • Uploading a new logo
  • Uploading a new favicon
  • Adding a slogan to the theme
  • Displaying a different theme for administration
  • Adding an existing block to the theme
  • Adding a custom block to the theme
  • Displaying a block only on the front page
  • Controlling block visibility based on user role
  • Controlling block visibility based on node type

Introduction

Drupal is designed to separate logic from presentation with the former usually handled through the use of modules and the latter via themes. Although this separation is not absolute, it is distinct enough to facilitate quick and efficient customization and deployment of websites. This especially ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required