English 中文(简体)
magento 禁用某些分类页面上的标语, 或设置多链接的标语
原标题:magento disable a banner on certain category pages or have a banner with multiple links

在某些分类页面上是否有办法禁用标语, 但不是全部? 我试图在我的分类页面上设置标语, 它有3个与其子分类的链接 。 因为标语只能作为jpg 而不是 html 图像被上传, 我猜它需要用 XML 或扩展 来解开吗?

问题回答
<?xml version="1.0" ?>
<layout version="0.1.0">
   <default>
   </default>
   <catalog_category_view>
     <remove name="left.permanent.callout" />
   </catalog_category_view>
</layout>

这将从分类视图页面中删除横幅( 挂图照片横幅) 。
如果您在默认标签下写如

<?xml version="1.0" ?>
    <layout version="0.1.0">
       <default>
          <remove name="left.permanent.callout" />
       </default>
    </layout>

横幅将从每页 中删除

p. S: - 以本地. xml < br/ > Path:- mogro_ folder/ app/ design/ befrontend/ my centle (your_ package_ folder)/ neo( your_ honor_ text_ folder)/layout/local. xml





相关问题
Openx Ad Delivery Issues

My System Apache 2.2.9 PHP 5.2.9 MySQL client version: 5.1.28-rc Openx v2.8.5 I am using the Javascript single page call to serve my ads. I am running an in house CMS where everything is processed ...

Render public html for dynamic banners in Rails?

I would like to render specific HTML snippets for displaying banners, because each banner has a different nature (some images, some flash, etc). Every banner file is under app/public/banners/. I tried ...

How Do I Intercept Banner in WordPress?

My client wants me to make a plugin that intercepts the banner on a WordPress blog so that the existing one displays, but right beneath it, above the content and the sidebar, another banner appears. ...

Making SWF (Flash) Banner Clickable

I am using SWFobject. I am creating Banner Management System. I need to integrate Flash (SWF) banners and need to keep track of clicks and impressions. I tried to wrap flash object within anchor tag....

Banner Management System using Rails

I want to create an open source banner/advertising management app using Rails. The app is like the simplified version of OpenX, where user can define the ad zone, upload banner, and paste the ...

Flash banner, crossdomain and XML loading

I want to create flash banner with XML content, and host it on my site with crossdomain.xml, and then share banner code with other sites for banner exchange. So, everything is on my server. Will ...

banner advertising mysql-query with multiple tables

My problem is described further under the table structure. This is my tables for my advertising banner system: banner id (unique key) title bannersrc maxhits maxklik activefrom activeuntil ...