Cover image for Drupal 6 Themes : Create New Themes for Your Drupal 6 Site with Clean Layout and Powerful CSS Styling.
Drupal 6 Themes : Create New Themes for Your Drupal 6 Site with Clean Layout and Powerful CSS Styling.
Title:
Drupal 6 Themes : Create New Themes for Your Drupal 6 Site with Clean Layout and Powerful CSS Styling.
Author:
Shreves, Ric.
ISBN:
9781847195678
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (359 pages)
Contents:
Drupal 6 Themes -- Table of Contents -- Drupal 6 Themes -- Credits -- About the Author -- About the Reviewers -- Preface -- What This Book Covers -- What You Need for This Book -- Who is This Book For -- Conventions -- Reader Feedback -- Customer Support -- Downloading the Example Code for the Book -- Errata -- Piracy -- Questions -- 1. The Elements of a Drupal Theme -- The Importance of Themes in Drupal -- Theme It in Whole or in Part -- Build with Blocks -- Intercept and Override -- What Is a Theme? -- What Is a Theme Engine? -- The Range and Flexibility of Drupal Themes -- What You See on the Screen -- The Big Picture: How Drupal Displays a Page -- The Default Themes of the Drupal Distro -- The Theme Files -- The Files of a PHPTemplate Theme -- The Files of a Pure PHP Theme -- Summary -- 2. Theme Setup and Configuration -- Finding Additional Themes -- Installing an Additional Theme -- Configuring a Theme -- Theme-Specific Configuration Options -- Color Picker -- Enable/Disable Page Elements -- Logo Settings -- Shortcut Icon Settings -- Global Configuration Settings -- Managing Modules and Blocks -- The Module Manager -- The Blocks Manager -- Configuring Individual Blocks -- Block Title -- User Specific Visibility Settings -- Role Specific Visibility Settings -- Page Specific Visibility Settings -- Adding PHP to Blocks -- Theming in Action: Dressing Up Garland -- Set the Color Scheme -- Set Page Elements (Toggle Display Settings) -- Upload Logo -- Global Site Information -- Enable Modules -- Manage Blocks -- Add Some Dummy Content and Links -- Set Access Levels -- Create a Custom Block -- Set Block Visibility -- Uninstalling Themes -- Summary -- 3. Working with Theme Engines -- What is PHPTemplate? -- How Does It Work? -- Getting Started with PHPTemplate -- The Role of the .info File -- The Role of the page.tpl.php File.

Two Contrasting Examples -- A Basic PHPTemplate Theme-Bluemarine -- A More Complex PHPTemplate Theme-Garland -- Alternative Theme Engines -- PHPTAL -- Smarty -- PHP XTemplate -- Installing Additional Theme Engines -- Summary -- 4. Identifying Templates, Stylesheets, and Themable Functions -- Putting Together the Pieces-Templates, Stylesheets, and Functions -- Default Templates and Variables -- Default Stylesheets -- The Themable Functions -- A Guide to Theming Elements -- Common Theme System Functions -- Theming the Aggregator Module -- Default Templates -- aggregator-feed-source.tpl.php -- aggregator-item.tpl.php -- aggregator-summary-item.tpl.php -- aggregator-summary-items.tpl.php -- aggregator-wrapper.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Block Module -- Default Templates -- block.tpl.php -- block-admin-display-form.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Book Functionality -- Default Templates -- book-all-books-block.tpl.php -- book-export-html.tpl.php -- book-navigation.tpl.php -- book-node-export-html.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Color Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Comment Functionality -- Default Templates -- comment-folded.tpl.php -- comment-wrapper.tpl.php -- comment.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the DBLog Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Filter Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Form Functionality -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Forum Module -- Default Templates -- forum-icon.tpl.php -- forum-list.tpl.php -- forum-submitted.tpl.php -- forum-topic-list.tpl.php -- forum-topic-navigation.tpl.php.

forums.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Help Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Locale Functionality -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Menu Functionality -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Node Functionality -- Default Templates -- node.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the OpenID Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Pagination Functionality -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Poll Module -- Default Templates -- poll-bar-block.tpl.php -- poll-bar.tpl.php -- poll-results.tpl.php -- poll-results-block.tpl.php -- poll-vote.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Profile Module -- Default Templates -- profile-block.tpl.php -- profile-listing.tpl.php -- profile-wrapper.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Search Module -- Default Templates -- search-block-form.tpl.php -- search-result.tpl.php -- search-results.tpl.php -- search-theme-form.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Syslog Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the System Module -- Default Templates -- box.tpl.php -- maintenance-page.tpl.php -- page.tpl.php -- Default Stylesheets -- Themable Functions -- Theming the Taxonomy Functionality -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Tracker Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Trigger Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the Update Module -- Default Templates -- Default Stylesheets.

Themable Functions -- Theming the Upload Module -- Default Templates -- Default Stylesheets -- Themable Functions -- Theming the User Functionality -- Default Templates -- user-picture.tpl.php -- user-profile.tpl.php -- user-profile-category.tpl.php -- user-profile-item.tpl.php -- Default Stylesheets -- Themable Functions -- Summary -- 5. Intercepts and Overrides -- Overriding the Default CSS -- CSS Overrides in Action -- Overriding Templates and Themable Functions -- Various Approaches to Overriding Default Styling -- Substituting Templates -- Overriding Templates -- Placing Function Overrides in the template.php File -- Overriding Themable Functions with Dedicated Template Files -- Where to Place Themable Function Overrides -- How to Name Themable Function Overrides -- Overrides in Action: A Look at Overrides in Garland -- Intercepting the Default Template Files -- Overriding Themable Functions -- Summary -- 6. Modifying an Existing Theme -- Setting Up the Workspace -- Planning the Modifications -- Creating a New Subtheme -- Making the Transition from Zen to Tao -- Configuring the Theme -- Enabling Modules -- Setting Global and Theme Configuration Options -- Setting User Access -- Creating Dummy Content -- Setting Up Menus -- Adding New Regions -- Enabling and Configuring Blocks -- Adapting the CSS -- Setting the Page Dimensions -- Formatting the New Regions -- Setting Fonts and Colors -- Formatting the Sidebars and Footer -- Formatting the Menus -- Creating the Horizontal Menu -- Formatting the Vertical Menu -- Formatting the Search Box and Syndicate Button -- Formatting the Comments Form and Output -- Adapting the Themable Functions -- Overriding a Themable Function -- Modifying a Default Template -- Before and After -- Summary -- 7. Building a New Theme -- Planning the Build -- Creating a New PHPTemplate Theme -- Building a .info File.

Building a page.tpl.php File -- Insert DocType and Head -- Insert Body Tags -- Lay Out the Page Divisions -- Place the Functional Elements -- Insert the Secondary Links -- Inside the Header Wrapper -- Logo -- Site Name -- Theme Search Box -- Site Slogan -- Site Mission -- Header Region -- Insert the Primary Links -- Inside the Main Wrapper -- Sidebar Left -- The Main Content Area -- Breadcrumb Trail -- Title -- Tabs -- Help -- Messages -- Content Region -- Sidebar Right -- Inside the Footer -- Feed Icons -- Footer Message -- Insert the Template Closing Tag -- The Final page.tpl.php File -- The style.css File -- A Look at Our New Theme -- Build a New Pure PHP Theme -- Required Elements -- HTML Headers -- Head of Document -- Implementing the Features -- Favicon -- Logo -- Site Name -- Site Slogan -- Primary and Secondary Links -- Sidebars -- Sidebar Left -- Sidebar Right -- Main Content Area -- Title and Breadcrumb Trail -- Tabs -- Help -- Messages -- Content Region -- Footer -- Theme Closure -- Overriding Functions -- Summary -- 8. Dynamic Theming -- Using Multiple Templates -- Using a Separate Admin Theme -- Multiple Page or Section Templates -- Create a Unique Homepage Template -- Use a Different Template for a Group of Pages -- Assign a Specific Template to a Specific Page -- Designate a Specific Template for a Specific User -- Dynamically Theming Page Elements -- Associating Elements with the Front Page -- Dynamically Styling Modules and Blocks -- Dynamically Styling Blocks -- Dynamically Styling the Comment Module -- Dynamically Styling the Forum Module -- Dynamically Styling the Polls Module -- Dynamically Styling Nodes -- Creating Dynamic CSS Styling -- Using Dynamic Selectors for Nodes -- Changing the Body Class Based on body_classes -- Working with Template Variables -- Intercepting and Overriding Variables -- Making New Variables Available.

Summary.
Abstract:
Create new themes for your Drupal 6 site with clean layout and powerful CSS styling.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: