• 修改首页的main里面的内容


    进入后台--cms--page:

    找到home的页面,进入内容,可以看到右边的显示内容为:

    main里面的内容如下:

    <div class="slideshow-container">
    <ul class="slideshow">
    <li><a href="{{config path="web/secure/base_url"}}accessories/eyewear.html"><img src="{{media url="wysiwyg/slide-1.jpg"}}" alt="An eye for detail - Click to Shop Eye Wear" /></a></li>
    <li><a href="{{config path="web/secure/base_url"}}women.html"><img src="{{media url="wysiwyg/slide-2.jpg"}}" alt="Style solutions - covet-worthy styles in travel-friendly fabrics - Click to Shop Woman" /></a></li>
    <li><a href="{{config path="web/secure/base_url"}}men.html"><img src="{{media url="wysiwyg/slide-3.jpg"}}" alt="Wing man - hit the runway in stylish separates and casuals - Click to Shop Man" /></a></li>
    </ul>
    <div class="slideshow-pager">&nbsp;</div>
    <span class="slideshow-prev">&nbsp;</span> <span class="slideshow-next">&nbsp;</span></div>

    <ul class="promos">
    <li>
    <a href="{{config path="web/secure/base_url"}}home-decor.html">
    <img src="{{media url="wysiwyg/homepage-three-column-promo-01B.png"}}" alt="Physical &amp; Virtual Gift Cards" />
    </a>
    </li>
    <li>
    <a href="{{config path="web/secure/base_url"}}vip.html">
    <img src="{{media url="wysiwyg/homepage-three-column-promo-02.png"}}" alt="Shop Private Sales - Members Only" />
    </a>
    </li>
    <li>
    <a href="{{config path="web/secure/base_url"}}accessories/bags-luggage.html">
    <img src="{{media url="wysiwyg/homepage-three-column-promo-03.png"}}" alt="Travel Gear for Every Occasion" />
    </a>
    </li>
    </ul>

     “设计”选项卡中右边的内容:

    <reference name="content">
    <block type="catalog/product_new" name="home.catalog.product.new" template="catalog/product/new.phtml" after="cms_page">
    <action method="setProductsCount"><count>6</count></action>
    <action method="addPriceBlockType">
    <type>bundle</type>
    <block>bundle/catalog_product_price</block>
    <template>bundle/catalog/product/price.phtml</template>
    </action>
    <action method="setColumnCount"><count>6</count></action>
    </block>
    </reference>

     

     

  • 相关阅读:
    链表--反转链表(leetcode 206
    链表--重排链表(leetcode 143
    链表--删除链表中的结点(leetcode 237
    链表--K个一组反转链表(leetcode 25
    链表--相交链表(leetcode 160
    链表--两数相加II(leetcode 445
    链表--复制含有随机指针节点的链表(leetcode138
    链表--回文链表(leetcode234
    链表--环形链表(leetcode 141,142
    链表--分隔链表(leetcode86
  • 原文地址:https://www.cnblogs.com/bethel511/p/3777759.html
Copyright © 2020-2023  润新知