Joomla! 1.5 Templates Cookbook contains step-by-step instructions for Joomla! users to customize their Joomla! templates. The book is designed so that you can refer to it chapter by chapter, or you can look at the list of recipes and read those that interest you in no particular order. This book is written for Joomla! developers who want to improve the look and feel of their Joomla! sites. Readers are expected to have knowledge of CSS and (X)HTML. Although it will be helpful, no prior knowledge of Joomla! theming is expected.
Author(s): Richard Carter
Publisher: Packt Publishing
Year: 2010
Language: English
Pages: 236
Cover......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewers......Page 6
Table of Contents......Page 8
Preface......Page 12
Introduction......Page 16
Finding the current default template......Page 17
Locating Joomla! templates in your website's hierarchy......Page 19
Understanding Joomla! templates......Page 20
Changing your template's color variation......Page 22
Adding a color variation......Page 26
Changing your template's logo......Page 32
Selecting the default Joomla! template......Page 33
Editing the HTML template in the administration panel......Page 35
Editing CSS in the administration panel......Page 37
Installing a Joomla! template......Page 42
Understanding Joomla! template positions......Page 45
Understanding jdoc statements......Page 47
Understanding the templateDetails.xml file......Page 50
Styling for component.php......Page 56
Adding a custom favicon to your template......Page 59
Styling Joomla! error messages......Page 61
Styling Joomla! error pages......Page 63
Styling the search module......Page 68
Styling the search component......Page 71
Using template overrides in your Joomla! template......Page 74
Customizing the breadcrumb......Page 75
Styling pagination......Page 78
Linking back to the top of your page......Page 82
Adding a random background image to your Joomla! template......Page 85
Understanding Module Chrome in Joomla!......Page 92
Customizing the error page in Joomla!......Page 94
Creating a custom site offline page......Page 100
Starting your print stylesheet......Page 104
Adding a print stylesheet to Joomla!......Page 110
Typography for your Joomla! print stylesheet......Page 111
Styling the layout of your Joomla! template for print......Page 113
Styling content for print......Page 115
Styling links for print......Page 123
Preventing common bugs in print style......Page 124
Introduction......Page 126
Understanding Joomla! administrator templates......Page 127
Installing a Joomla! administrator template......Page 129
Changing the administrator template......Page 131
Changing the logo in an administrator template......Page 134
Changing the colors in the administration panel......Page 136
Securing the administrator URL......Page 138
Changing the icons on the Joomla! administrator dashboard......Page 141
Joomla! administrator template icon graphics......Page 143
Introduction......Page 146
Integrating Twitter with Joomla!......Page 147
Integrating AddThis social bookmarking tool with your Joomla! template......Page 152
Embedding YouTube and other videos in your Joomla! website......Page 156
Configuring the DisQus Comments extension for Joomla!......Page 160
Integrating Facebook into your Joomla! website......Page 166
Adding an iPhone icon......Page 172
Designing stylesheets for mobile devices......Page 174
Specifying a separate stylesheet for mobile browsers......Page 176
Creating a mobile stylesheet......Page 177
Installing the MobileJoomla! extension......Page 180
Including a JavaScript file in your Joomla! template......Page 188
Tips and tricks for minimizing page load time when using JavaScript......Page 190
Maximizing backward compatibility with JavaScript......Page 193
Joomla! template......Page 194
Installing the jQuery JavaScript library in Joomla!......Page 196
Creating an image slideshow with JavaScript in Joomla!......Page 197
Introduction......Page 202
Comparing your template across different browsers......Page 203
Validating your template's (X)HTML......Page 205
Validating your template's CSS......Page 207
Using conditional stylesheets in Joomla!......Page 208
Fixing the double-margin bug (in Internet Explorer) in Joomla!......Page 211
Installing Google Analytics......Page 215
Introduction......Page 218
Customizing Joomla!'s home page with module output override......Page 219
Customizing Joomla! articles with component template overrides......Page 221
Creating a new module style (chrome) in Joomla!......Page 224
Index......Page 228