首页 > 未分类 > Magento去掉左栏和右栏的广告图片

Magento去掉左栏和右栏的广告图片

转载地址:http://www.magentofront-end.com/magentomuban/tag/%E5%B7%A6%E6%A0%8F%E5%B9%BF%E5%91%8A%E5%88%A0%E9%99%A4

Magento去掉左栏和右栏的广告图片,这个问题有很多人在问,所以分享下方法。
去掉这两个广告图片,需要我们对Magento结构的了解,左栏和右栏的内容都是在catalog.xml里控制的。在52行,去掉这个block

“core/template” name=”left.permanent.callout” template=”callouts/left_col.phtml”>

“setImgSrc”>images/media/col_left_callout.jpg

“setImgAlt” translate=”alt” module=”catalog”>Our customer service is available 24/7. Call us at (555) 555-0123.

“setLinkUrl”>checkout/cart

在60行去掉这个block

“core/template” name=”right.permanent.callout” template=”callouts/right_col.phtml”>
“setImgSrc”>images/media/col_right_callout.jpg
“setImgAlt” translate=”alt” module=”catalog”>Keep your eyes open for our special Back to School items and save A LOT!

Magento的模块的调动删除,都是可以在xml中实现的。

转载地址:http://www.magentofront-end.com/magentomuban/tag/%E5%B7%A6%E6%A0%8F%E5%B9%BF%E5%91%8A%E5%88%A0%E9%99%A4

Magento去掉左栏和右栏的广告图片,这个问题有很多人在问,所以分享下方法。
去掉这两个广告图片,需要我们对Magento结构的了解,左栏和右栏的内容都是在catalog.xml里控制的。在52行,去掉这个block

"core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
    "setImgSrc">images/media/col_left_callout.jpg
    "setImgAlt" translate="alt" module="catalog">Our customer service is available 24/7. Call us at (555) 555-0123.
    "setLinkUrl">checkout/cart
在60行去掉这个block
"core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
    "setImgSrc">images/media/col_right_callout.jpg
    "setImgAlt" translate="alt" module="catalog">Keep your eyes open for our special Back to School items and save A LOT!

Magento的模块的调动删除,都是可以在xml中实现的。

Advertisements
分类:未分类
  1. 还没有评论。
  1. No trackbacks yet.

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: