You need to add a marker interface to both SiteRoot and ForumEvent, eg.

<class class="Class.Path.To.SiteRoot">
       <implements interface=".interfaces.IMyMarkerInterface" />
</class>

<class class="Products.GroningerForum.content.ForumEvent">
       <implements interface=".interfaces.IMyMarkerInterface" />
</class>

and then register the viewlet with for=".interfaces.IMyMarkerInterface".

I haven't done this but it should work.

Hedley Roos
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to