Book Image

Magento 1.4 Themes Design

By : Richard Carter
Book Image

Magento 1.4 Themes Design

By: Richard Carter

Overview of this book

<p>Magento is a popular open source e-commerce project. Whilst it comes with a number of default themes to change the look and feel of your store, many people, both new to Magento and old hands, struggle with even the more basic aspects of customizing Magento themes. When you read this book you'll learn how to change the basics of your Magento theme, create a new custom theme and much more.</p> <p>The book is a step-by-step guide to theming Magento, aimed at readers with little technical expertise. The first chapters introduce Magento 1.4 and Magento themes, covering Magento theme hierarchy and the key components of a Magento theme: templates, skins, layout, and locales. Later chapters delve into changing the basics of your Magento store, including methods for changing the logo of your store, adding a custom favicon (favorites icon) and integrating Twitter and Facebook into your store. More advanced topics include customizing Magento templates and XML layout files to alter a theme to your own needs and creating a custom print stylesheet.</p> <p>In short, the book provides guides to common aspects of theming and customizing Magento 1.4 and equally useful step-by-step walkthroughs of integrating more unusual items in to your Magento store.&nbsp;&nbsp;&nbsp;</p>
Table of Contents (17 chapters)
Magento 1.4 Themes Design
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Preface

Magento is a popular open source e-commerce project. While it comes with a number of 'default' themes to change the look and feel of your store, many people both new and old to Magento struggle with even the more basic aspects of customizing Magento themes. When you read this book you'll see how to change the basics of your Magento theme, create a new custom theme, and much more.

The book is a step-by-step guide to theming Magento, aimed at readers with little technical expertise.

In short, the book guides the common aspects of theming and customizing Magento 1.4 and an equally useful step-by-step walkthrough of integrating more unusual items into your Magento store.

What this book covers

Chapter 1, Introduction to Magento, introduces Magento, including the installation of the software and avoiding common pitfalls in this process. This chapter is an invaluable guide for those who are new to everything in Magento, or just those who are new to Magento 1.4.

Chapter 2, Exploring Magento Themes, introduces theming in the context of Magento and covers terminology used within the Magento project that relates to Magento in a wider context—from interfaces to packages—and more specifically, theme terminology, from skins to layouts, and template files.

Chapter 3, Magento Theme Basics, covers the basics of Magento theming, from changing your store's color scheme to updating your store's logo. This chapter concentrates on altering existing Magento themes to achieve the theming aims for your store.

Chapter 4, Magento Theme Layouts, provides an overview of what a layout is in the context of the Magento system, related terminology including layout handles and layout actions, and uses a number of useful step-by-step guides to common tasks you may need to use within Magento to create your theme.

Chapter 5, Non-default Magento Themes, covers the building blocks of creating your own Magento 1.4 theme, from replicating the necessary file hierarchy for your theme to enabling your new theme, styling your store's search feature, and altering your store's footer area.

Chapter 6, More Magento Theming, built on the previous chapter's content, from integrating @font-face fonts into your Magento store for higher-fidelity typography in your Magento store to customizing your store's navigation.

Chapter 7, Customizing Advanced Magento Layout, looks into more advanced customization and manipulation of Magento layout in order to customize your Magento store.

Chapter 8, Magento E-mail Templates, looks at customizing e-mail templates that are used to contact customers during key processes of their interaction with your Magento store, as well as integrating the well-known e-mail newsletter system-CampaignMonitor.

Chapter 9, Social Media and Magento, guides you through integrating popular social media websites—Twitter and Facebook—with your Magento store, from adding a Facebook Like button to your store to adding your latest tweets to your Magento store.

Chapter 10, Magento Print Style, sees you creating a custom print stylesheet to better allow your store's customers to print key pages from your store.

What you need for this book

You will need version 1.4 of Magento Community Edition or the equivalent version of the Enterprise or Professional editions. A familiarity with CSS and (X)HTML is recommended, and knowledge of PHP is beneficial.

Who this book is for

This book is aimed at web designers and web developers who are not familiar with Magento at all and to Magento designers and developers who are more familiar with Magento 1.3 than Magento 1.4. The book assumes knowledge of HTML and CSS and an awareness, but not in-depth knowledge of PHP syntax.

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: " The default layout for the checkout view is defined in the checkout.xml file in the app/design/frontend/base/default/layout directory."

A block of code is set as follows:

<action method="setTemplate">
<template>page/2columns-left.phtml</template>
</action>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

<reference name="left">
 <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml" />
</reference>

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: " Uncheck the checkbox next to Add Block Names to Hints and select Yes from the drop-down field ".

Note

Warnings or important notes appear in a box like this.

Tip

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 , 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 .

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, 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.

Tip

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 e-mailed 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 errata submission form 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 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 if you are having a problem with any aspect of the book, and we will do our best to address it.