Customizing Magento

From ThemesWiki

Jump to: navigation, search
Customizing Magento
Official Page
Project Documentation
Download
Source Book
200px-1847195946.jpg
ISBN 978-1-847195-94-4
Publisher Packt Publishing
Author(s) William Rice

Contents

[edit] Page Cache

[edit] To turn the page cache off and on

1.From the admin interface, select System | Cache Management.

2.You can select the types of information that Magento will cache. However, when performing basic customization on your site, it is usually easiest to enable and disable all of them at once.

3.From the drop-down menu next to All Cache, select Disable or Enable.

4.Click on the Save cache settings button.

[edit] Callouts

[edit] Replacing the default graphic for a callout

1.Before replacing a graphic for a callout, you should create its replacement. The default callout graphics are 195-pixels wide.

2.Make sure that you have named the new graphic col_right_callout.jpg or col_left _callout.jpg, whichever one you are replacing.

3.Navigate to the Magento directory \skin\frontend\default\default\images\media.

4.Rename the existing col_right_callout.jpg or col_left _callout.jpg to something else, such as ORIGINAL_col_right_callout.jpg. This preserves the original graphic so that you can roll back to the original condition.

5.Copy your new graphic into \skin\frontend\default\default\images\media and name it col_right_callout.jpg or col_left _callout.jpg, whichever one you are replacing.


[edit] Replacing the default alt text for a callout

To replace alt text for the right callout

1.Navigate to the Magento directory \app\design\frontend\default\default\ template\callouts.

2.Locate the file right_col.phtml.

3.Before changing the file, make a duplicate of it. Name it to something like ORIGINAL_right_col.phtml.

4.Open the file in a text editor such as WordPad, or in an HTML editor such as DreamWeaver.

5.In the text file, locate the alt text.

1.Replace the alt text with your own.

2.Save the file.

To replace the alt text and link for the left callout

1.Navigate to the Magento directory \app\design\frontend\default\default\layout.

2.Locate the file catalog.xml.

3.Before changing the file, make a duplicate of it. Name it to something like ORIGINAL_catalog.xml.

4.Open the file in a text editor such as WordPad, or in an HTML editor such as DreamWeaver.

5.Locate the default alt text. An easy way to do this is to use the search for (800) DEMO-NUMBER.

6.Replace the alt text with your own.

7.In the next line, notice the link: checkout/cart. Replace this with a link of your choice. For example, you could use one of the following links:

To link to this page in your store: Replace the default link with this text:
Customer Service Contact Us
customer-service contacts

8.Save the file.

[edit] Disabling the Newsletter or Poll

1.Go to System | Confi guration | Advanced | Advanced. You should see the Disable modules output page.

2.Locate the module labeled Mage_Newsletter and/or Mage_Poll, and select Disable.

3.Click on the Save Config button.

[edit] Customizing the Welcome Message

1.From the Admin interface, select System | Confi guration | General | Design.

2.In the Header section, enter the Welcome Text.

3.Save.

[edit] Customizing the HTML Head section

Default Title

If a page in your site does not have a customized title, then it will use the title given here. All of Magento's built-in pages have their own titles, and so this field should not aff ect your system unless you create custom pages.


Description

This is your store's description. Some search sites will display this in their search results.

Default Keywords

Enter keywords that will help search engines classify your site.

[edit] The Header section

The fields in this section are used to customize the logo and welcome message.

Logo Image Src and Alt Text

By default, Magento looks in \skin\frontend\default\default\images\logo.gif for the store's logo. The graphic is 157-by-47 pixels in size. The easiest way to customize your store's logo is to make a direction replacement, the same size and file name, and replace the existi ng one.

The field Logo Image Alt holds the alt text for the logo. This will be displayed if the graphic is not.

Welcome Text

Enter your customized welcome message into this field.

The Footer section

On this page, you can change the Copyright notice.

There is also a field on the confi guration page for Miscellaneous HTML. This enables you to add any HTML code immediately below the Copyright.

[edit] Changing your store's name

1.From the Admin interface, select System | Manage Stores.

2.Click the link for Default Store View. The Store View Information page is displayed.

3.In the Name field, enter the name for your store that you want customers to see.

4.Click on Save Store View.

Now, whenever Magento displays your store name, it will show the text that you entered.

[edit] Customizing the front page

1.Select CMS | Manage Pages, and then select Home page.

2.In the Content field, enter HTML code for your site's front page. You will need to know the basic HTML commands, or use an HTML editor, such as DreamWeaver or Bluefish, to create the HTML code.

3.Change the Page Title, which will appear in the title bar of the visitor's browser.

4.Leave the SEF URL Identifier fi eld alone.

5.Click on the Save Page button.

[edit] Additional References

  • For instructions on Installing Magento, click here
  • For instructions on Theming Magento, click here


[edit] Source

The source of this content is Chapter 2: Installing Magento of Magento: Beginner's Guide by William Rice (Packt Publishing, 2009).logo design by Kevin Josh 2010

Executive Editor Sean Lopez own  : SEO Company and provider of Link Building Services and SEO Services

And Like Costumes and Halloween Costumes and criar sites

And Like The Global Information Network and Global Information Network

Personal tools