|
คือ ได้ download Theme ของ Magento นี้มา http://freedemo.templates-master.com/f002 ซึ่งได้ download ที่นี้ครับ http://www.hiddenpixels.com/designer-and-developer-resources/free-magento-themes-templates/ แต่เวลาลงนั้นผมแตกไฟล์ที่ได้ download มามี 3 ไฟล์ ครับ คือ folder ชื่อ ready 1.3.0 และ folder ชื่อ psd และไฟล์ notepad ชื่อ installation โดยเมื่อเปิดไฟล์ notepad ขึ้นมาดูคราวๆเป็นขั้นตอนในการลง Theme นี้ คือ
Please follow these instructions to proceed with the installation of your theme:
#1 Copy all files into your magento directory and turn Magento cache off
-----------------------------------------------------------------------------------------------
Simply copy all files from template directory into your magento directory.
#2 Install homepage
-----------------------------------------------------------------------------------------------
In order to customize your homepage, navigate to Admin -> CMS -> Manage Pages -> Homepage.
CMS->Manage Pages:
- add this to homepage content:
<!-- content -->
- add this to homepage ‘custom design’ Layout Update XML:
<reference name="left">
<block type="catalog/navigation" before="-" name="catalog.sidebar" template="catalog/navigation/sidebar.phtml"/>
</reference>
<reference name="content">
<block type="catalog/product_new" name="home.product.new" alias="product_new" template="catalog/product/new.phtml">
<action method="addPriceBlockType">
<type>bundle</type>
<block>bundle/catalog_product_price</block>
<template>bundle/catalog/product/price.phtml</template>
</action>
</block>
</reference>
<reference name="top_slider">
<block type="cms/block" name="showcase">
<action method="setBlockId">
<block_id>showcase</block_id>
</action>
</block>
</reference>
<remove name="right.newsletter"/>
- set layout ‘3 columns’ at ‘custom design’ tab
#3 CMS->Static Blocks
-----------------------------------------------------------------------------------------------
add block ‘showcase’ with content:
<div id="slider">
<div class="slidercontrolwr">
<div class="slidercontrol">
<a href="#" class="aprev" title="Previous" onclick="my_glider.previous();return false;">Previous</a>
<a href="#" class="astop" title="Stop" onclick="my_glider.stop();return false">Stop</a>
<a href="#" class="aplay" title="Play" onclick="my_glider.start();return false">Start</a>
<a href="#" class="anext" title="Next" onclick="my_glider.next();return false">next</a>
</div>
</div>
<div class="scroller">
<div class="content">
<div class="section" id="section1">
<a href="#" title=""><img src="{{skin url=""}}images/slider1.jpg" alt="” /></a>
</div>
<div class="section" id="section2">
<a href="#" title=""><img src="{{skin url=""}}images/slider2.jpg" alt="” /></a>
</div>
<div class="section" id="section3">
<a href="#" title=""><img src="{{skin url=""}}images/slider3.jpg" alt="” /></a>
</div>
<div class="section" id="section4">
<a href="#" title=""><img src="{{skin url=""}}images/slider4.jpg" alt="” /></a>
</div>
</div>
</div>
</div>
<script src="{{skin url=""}}js/glider.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
var my_glider = new Glider(’slider’, {duration:0.5, autoGlide: false, frequency: 4, initialSection: ‘section1’});
</script>
----------------------------------
add block ‘menu’ with content:
<li><a href="{{store url=""}}about"><span>About Us</span></a></li>
<li><a href="{{store url=""}}testimonials"><span>Testimonials</span></a></li>
<li><a href="{{store url=""}}contacts"><span>Contact Us</span></a></li>
----------------------------------
add block ‘payments’ with content:
<img src="{{skin url=""}}images/payments.gif" alt="payments" />
#4 Selecting Theme in admin
-----------------------------------------------------------------------------------------------
- Navigate to Admin -> Config -> Design. Please enter into folowing fields “f002”
Templates
Skin (Images / CSS)
Layout
#5 Change number of new products on front page
-----------------------------------------------------------------------------------------------
Please edit
app\code\core\Mage\Catalog\Block\Product\New.php
and change number of new products here
const DEFAULT_PRODUCTS_COUNT = 5;
#6 That’s all. Navigate to your home page and check how your new store looks.
If you have any problems with templates installtion please contact us at http://templates-master.com/contacts/ and we will help you with template installation for free
Thanks,
ฉะนั้นจึงอยากสอบถามผู้รู้ช่วยแนะนำหน่อยครับ รบกวนช่วยอธิบายแต่ละขั้นตอนหน่อยด้วยครับ
|