Preface
With the widespread empowering of website owners being able to manage their own website's content, there are a huge number of content management systems available. Joomla! is one of the most popular of these content management systems with a large user base and active community who are constantly working to improve Joomla! for new and future users.
With the popularity of Joomla! and the relative lack of customized templates, there is much that can be done to change the appearance of your Joomla! website—from customizing the administration panel to creating print-friendly views of your website content and integrating popular applications such as Twitter and Facebook into your Joomla! website.
What this book covers
Chapter 1, Joomla! Theming Basics, covers changing the basics of your Joomla! templates, from the color scheme using template variations to your site's logo, and using the administration panel to edit your template's HTML and CSS.
Chapter 2, Custom Joomla! Templates, goes through more detailed templating tasks, from using CSS resets with your template to providing a guide to jdoc
statements in your Joomla! templates.
Chapter 3, Theming the Details, covers styling search forms at both module and component view to pagination and beyond.
Chapter 4, Custom Page Templates, contains guides on creating custom error and site offline pages, and a walkthrough to module chrome.
Chapter 5, Styling Joomla! for Print, covers everything to do with print stylesheets, from typography to layout and troubleshooting common bugs in print CSS.
Chapter 6, Joomla! Admin Templates, contains guides to customizing Joomla!'s administration panel, from installing a new admin template to changing the admin panel's colors.
Chapter 7, Social Media and Joomla!, covers guides to integrating social media content such as videos from YouTube and content from Twitter into your Joomla! templates.
Chapter 8, Styling Joomla! for Mobiles, provides guides to styling your Joomla! website for mobile devices such as the iPhone, from creating handheld devices stylesheets in CSS to adding iPhone icons for your website.
Chapter 9, Joomla! and JavaScript, includes tips on minimizing page load time when using JavaScript in your Joomla! template and integrating Lightbox and other JavaScript features into your template.
Chapter 10, Miscellaneous Joomla! Templating, includes a miscellany of content for Joomla! template designers, from using conditional comments only for Internet Explorer CSS fixes to fixing Firefox/Mozilla bugs and more.
Appendix, Joomla! Output Overrides, covers the use of template overrides in Joomla!.
What you need for this book
You'll need Joomla! 1.5 installed either locally or on a server you have access to. For more information on Joomla!'s requirements, visit http://www.joomla.org/technical-requirements.html.
Who this book is for
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. And although knowledge of Joomla! theming will be helpful, it is not required.
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text are shown as follows: "Access your Joomla! website via FTP and navigate to the templates
directory."
A block of code is set as follows:
#search input[type='text']:focus { border-color: #09C /* blue */ }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<span class="pagination"> <span>«</span> <span>Start</span> <span>Prev</span><strong> <span>1</span></strong>
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Select the file from your computer and then click on the Upload File & Install button."
Note
Warnings or important notes appear in a box like this.
Note
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.
To send us general feedback, simply send an e-mail to< feedback@packtpub.com>
, and mention the book title via the subject of your message.
If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or e-mail< suggest@packtpub.com>
.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book on, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
Note
Downloading the example code for this book
You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files emailed directly to you.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the let us know link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at< copyright@packtpub.com>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors and our ability to bring you valuable content.
Questions
You can contact us at< questions@packtpub.com>
if you are having a problem with any aspect of the book, and we will do our best to address it.