Hi,<br><br>Sorry for the disturbance, but I'm actually stuck overriding a standard viewlet of Plone (4.1): The "plone.links.RSS" that goes in the HTML head.<br><br>Though I carefully read and practiced the tutorial <a href="http://plone.org/documentation/kb/customizing-main-template-viewlets/overriding-a-class-viewlet">http://plone.org/documentation/kb/customizing-main-template-viewlets/overriding-a-class-viewlet</a> I always have the original Plone viewlet from plone.app.layout.links.<br>
<br>Some pointers that show how I did this :<br><br>My component's layer : <br><a href="https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/interfaces.py#L8">https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/interfaces.py#L8</a><br>
<br>Its installation through GenericSetup works correctly since it shows in ZMI in the "Components" tab of the Plone site. <br><br>The ZCML registration of the viewlet including that layer selector:<br><a href="https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/browser/configure.zcml#L86">https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/browser/configure.zcml#L86</a><br>
<br>The viewlet class itself:<br><a href="https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/browser/viewlets.py#L10">https://github.com/glenfant/aws.authrss/blob/master/src/aws/authrss/browser/viewlets.py#L10</a><br>
<br>I'm stuck finding why this does not work as expected (the original viewlet is rendered in place of my custom viewlet). Any help is welcome. And so many thanks by advance for any pointer.<br><br>-- <br>Gilles Lenfant<br>
<br>