1

Products,Carousel adds a viewlet to the plone.contentviews manager using some funky inline code in setuphandlers. I am trying to hide this viewlet. I have tried various techniques such as:

  • overriding the template in my configure.zcml

  • using the <hidden> tag in my viewlets.xml

But nothing seems to take effect. However if I go into @@manage-viewlets, I am able to hide it by hand.

How can i do this automatically on startup?

Giacomo Spettoli
  • 4,476
  • 1
  • 16
  • 24
sureshvv
  • 4,234
  • 1
  • 26
  • 32
  • 2
    Both of the techniques you mentioned should work. Can you show us the code you tried? – David Glick May 13 '11 at 15:29
  • I guess this is a bug, I have the same issue with collective.disqus add-on on Plone4, the plone comment viewlet is not hidden by the default profile of this add-on. Please report this on the plone bug tracker. – toutpt May 22 '11 at 11:49

1 Answers1

1

Not very elegant, but you could override the viewlet template using z3c.jbot if you're really desperate. Just provide an empty template called Products.Carousel.browser.viewlet.pt in your z3c.jbot templates folder, inside your custom product.

Rigel Di Scala
  • 3,150
  • 2
  • 17
  • 23