Archive for the ‘Magento’ category

Database server does not support InnoDB storage engine

May 14th, 2010

Windows xp . PHPNOW.

提示如标题所示:

选择: MySQL-5.0.77或者MySQL-5.0.89或者MySQL-XXX文件夹下.my-innodb-heavy-4G.ini 和 my.ini 和 my-huge.ini

查找 skip-bdbskip-bdb , skip-innodb 删除. 重启.

Database server does not support InnoDB storage engine

May 13th, 2010

innodb_data_file_path

edit /etc/my.cnf configuration file and restart MySQL service for enabling InnoDB.

Delete

skip-bdb
skip-innodb

skip-bdbskip-innodb

Restart MYSQL

http://dev.mysql.com/doc/refman/5.0/en/innodb.html

Designing for Magento

March 10th, 2010

创建一个新主题
如何复制一个主题
在管理后台设置新主题
添加新的样式表和JS
使用XML改变布局
改变META部分
理解XML布局文件
——————
理解.PHTML文件

参考http://www.magentocommerce.com/design_guide/articles/working-with-magento-themes

http://www.magentocommerce.com/design_guide/articles/magento-design-terminologies4

http://www.magentocommerce.com/design_guide

如何修改magento首页布局和删除不需要的广告位

November 2nd, 2009

如何删除magento首页不需要的信息. 首先登陆后台.CMS=>Manage Pages=>选择edite page=>Home page=>选择custom design. 然后选择相应的模板,选择相应的列数, 编辑里面的内容.

<reference name=”content”> <block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_new” template=”catalog/product/new.phtml” after=”cms_page”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> <block type=”reports/product_viewed” name=”home.reports.product.viewed” alias=”product_viewed” template=”reports/home_product_viewed.phtml” after=”product_new”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> <block type=”reports/product_compared” name=”home.reports.product.compared” template=”reports/home_product_compared.phtml” after=”product_viewed”><action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> </reference><reference name=”right”> <action method=”unsetChild”><alias>right.reports.product.viewed</alias></action> <action method=”unsetChild”><alias>right.reports.product.compared</alias></action> </reference>

保存后.记得清除缓存

添加magento网站Title-Description-keywords

November 2nd, 2009

包括修改copyright

登陆. system=>configuration=>design=>

修改html head+footer为需要的内容即可.清除缓存.

注意:首先选择相关网站.

======================以上方式如果没有效果. 使用CMS=>MANAGE PAGES=>HOME PAGE=>general information修改title 即可.

去除magento版权

November 2nd, 2009

/app/design/frontend/default/default/template/page/html/

footer.phtml

删除相关代码.

Help Us to Keep Magento Healthy – Report All Bugs (ver. 1.3.2.4)
© 2008 Magento Demo Store. All Rights Reserved.

Help Us to Keep Magento Healthy – Report All Bugs

© 2008 Magento Demo Store. All Rights Reserved.

多站点怎样建立?

August 15th, 2009

http://www.magentocommerce.com/knowledge-base/entry/overview-how-multiple-websites-stores-work

有时间翻译