04958nam 2200697Ia 450 991045951990332120200520144314.01-282-90509-097866129050941-84719-869-4(CKB)2670000000059185(EBL)951171(OCoLC)797915385(SSID)ssj0000435678(PQKBManifestationID)11269370(PQKBTitleCode)TC0000435678(PQKBWorkID)10426581(PQKB)11478186(MiAaPQ)EBC951171(PPN)228034345(Au-PeEL)EBL951171(CaPaEBR)ebr10435414(CaONFJC)MIL290509(EXLCZ)99267000000005918520110101d2010 uy 0engur|n|---|||||txtccrDrupal 6 theming cookbook[electronic resource] over 100 clear, step-by-step recipes to create powerful, great-looking Drupal themes /Karthik KumarBirmingham, U.K. Packt20101 online resource (384 p.)Includes index.1-84719-868-6 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 BasicsIntroductionUnderstanding 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 themeChoosing 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 insteadof 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; IntroductionAdding 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 JavaScriptAdding default text to the search textfieldOver 100 clear step-by-step recipes to create powerful, great-looking Drupal themesDrupal six theming cookbookWeb site developmentWeb sitesDesignCascading style sheetsOpen source softwareElectronic books.Web site development.Web sitesDesign.Cascading style sheets.Open source software.006.78Kumar Karthik879284MiAaPQMiAaPQMiAaPQBOOK9910459519903321Drupal 6 theming cookbook1963529UNINA