4 options
Drupal 6 theming cookbook : over 100 clear, step-by-step recipes to create powerful, great-looking Drupal themes / Karthik Kumar.
- Format:
- Book
- Author/Creator:
- Kumar, Karthik.
- Language:
- English
- Subjects (All):
- Drupal (Computer file)--Handbooks, manuals, etc.
- Drupal (Computer file).
- Web site development.
- Web sites--Design.
- Web sites.
- Cascading style sheets.
- Open source software.
- Physical Description:
- 1 online resource (384 p.)
- Edition:
- 1st ed.
- Other Title:
- Drupal six theming cookbook
- Place of Publication:
- Birmingham, U.K. : Packt, 2010.
- Language Note:
- English
- Summary:
- Over 100 clear step-by-step recipes to create powerful, great-looking Drupal themes
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Drupal Theme Basics; Introduction; Installing and enabling a theme; Uploading a new logo; Uploading a new favicon; Adding a slogan to the theme; Allowing users to choose from; multiple themes; 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; Chapter 2: Beyond the Basics
- IntroductionUnderstanding 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; 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; Chapter 3: Custom Themes and Zen; Introduction; Clearing the theme registry; Creating a theme from scratch; Creating myzen, a Zen-based theme
- Choosing a CSS layout for myzenOverriding Zen template files with myzen; Adding a custom region to myzen; Adding a background image to the theme; Adding a conditional stylesheet in Zen; Modifying myzen's theme settings; Chapter 4: Templating Basics; Introduction; Changing the layout of a page using; page.tpl.php; Customizing the appearance of a; particular node type; Customizing the appearance of a; specific node; Theming made easy using the Devel module; Theme overrides using the Theme; developer module; Listing all available variables in a; template file; Displaying the profile name instead
- of a usernameStyling the site maintenance page; Chapter 5: Development and Debugging Tools; Introduction; Finding the right function to use to theme; an object; Analyzing variables using the Devel module; Generating sample content using the; Devel generate module; Resetting the default theme manually; Live preview with Web Developer; Validating HTML and CSS using Web; Developer; Turning off JavaScript in the browser; Disabling CSS in the browser; Inspecting elements and debugging; CSS using Firebug; Diagnostic logging of JavaScript; using Firebug; Chapter 6: Advanced Templating; Introduction
- Adding a variable to all node templatesDeleting a variable from the page template; Adding a custom theme setting; Hiding all regions on a page; Displaying the last updated date; instead of the submitted date; Module-based variable manipulation; Optimizing using hook_preprocess(); Displaying the date field in calendar form; Chapter 7: JavaScript in Themes; Introduction; Including JavaScript files from a theme; Including a JavaScript file only for; certain pages; Giving the username textfield keyboard; focus; Exporting a variable from PHP to JavaScript
- Adding default text to the search textfield
- Notes:
- Includes index.
- ISBN:
- 9786612905094
- 9781282905092
- 1282905090
- 9781847198693
- 1847198694
- OCLC:
- 797915385
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.