LEADER 04925nam 2200685Ia 450 001 9910785316303321 005 20200520144314.0 010 $a1-282-90509-0 010 $a9786612905094 010 $a1-84719-869-4 035 $a(CKB)2670000000059185 035 $a(EBL)951171 035 $a(OCoLC)797915385 035 $a(SSID)ssj0000435678 035 $a(PQKBManifestationID)11269370 035 $a(PQKBTitleCode)TC0000435678 035 $a(PQKBWorkID)10426581 035 $a(PQKB)11478186 035 $a(Au-PeEL)EBL951171 035 $a(CaPaEBR)ebr10435414 035 $a(CaONFJC)MIL290509 035 $a(MiAaPQ)EBC951171 035 $a(PPN)228034345 035 $a(EXLCZ)992670000000059185 100 $a20110101d2010 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aDrupal 6 theming cookbook$b[electronic resource] $eover 100 clear, step-by-step recipes to create powerful, great-looking Drupal themes /$fKarthik Kumar 210 $aBirmingham, U.K. $cPackt$d2010 215 $a1 online resource (384 p.) 300 $aIncludes index. 311 $a1-84719-868-6 327 $aCover; 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 327 $aIntroductionUnderstanding 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 327 $aChoosing 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 327 $aof 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 327 $aAdding 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 327 $aAdding default text to the search textfield 330 $aOver 100 clear step-by-step recipes to create powerful, great-looking Drupal themes 517 3 $aDrupal six theming cookbook 606 $aWeb site development 606 $aWeb sites$xDesign 606 $aCascading style sheets 606 $aOpen source software 615 0$aWeb site development. 615 0$aWeb sites$xDesign. 615 0$aCascading style sheets. 615 0$aOpen source software. 676 $a006.78 700 $aKumar$b Karthik$01500136 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910785316303321 996 $aDrupal 6 theming cookbook$93726677 997 $aUNINA