Drupal 6 Theming Cookbook.
Over 100 clear step-by-step recipes to create powerful, great-looking Drupal themes.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub.,
2010.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Drupal 6 Theming Cookbook; Drupal 6 Theming Cookbook; Credits; About the Author; About the Reviewers; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Errata; Piracy; Questions; 1. Drupal Theme Basics; Introduction; Installing and enabling a theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Folder structure; Uploading a new logo; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Directly linking to image files; Uploading a new favicon; Getting ready; How to do it ...
- How it works ... There's more ... ; Alternative methods; Adding a slogan to the theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Similar settings; Allowing users to choose from multiple themes; Getting ready; How to do it ... ; How it works ... ; Displaying a different theme for administration; Getting ready; How to do it ... ; How it works ... ; Adding an existing block to the theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Theme-specific block layouts; Adding a custom block to the theme; Getting ready; How to do it ... ; How it works ... ; There's more ...
- Doing more with custom blocksDisplaying a block only on the front page; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Multiple pages; Matching against URL aliases; Exclusive display; Controlling block visibility based on user role; Getting ready; How to do it ... ; How it works ... ; Controlling block visibility based on node type; Getting ready; How to do it ... ; How it works ... ; 2. Beyond the Basics; Introduction; Understanding the anatomy of a theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Other theme engine types.
- Creating a sub-theme based on a core themeGetting ready; How to do it ... ; How it works ... ; There's more ... ; Garland and Minnelli; Chaining; Overriding base theme elements in a sub-theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Clean upgrades; Changing the screenshot image of a theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Using the .info file; Including a CSS file in a theme; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Overriding the base theme's stylesheet; Enabling CSS optimization; Getting ready; How to do it ...
- How it works ... There's more ... ; When to use it; Other optimizations; Creating the mysite module to hold our tweaks; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Module builder; Adding a CSS file from a module; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Adding inline CSS; Displaying a different theme for each day of the week; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Displaying a random theme; Creating a fresh look using the color module; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Custom presets.