[Product-Developers] Registering a viewlet for a given content type?
Andreas Jung
lists at zopyx.com
Wed Feb 3 14:53:14 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shane Graber wrote:
> In looking through the viewlet registration zcml, a person can
> show a viewlet based on if the current context is IContentish or
> IFolderish. However, I have not seen an example of showing a
> viewlet for only a certain content type.
Have you tried using for=".." together with the class instead of an
interface?
- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAktpjdoACgkQCJIWIbr9KYxZDwCg1GyArsGOFxNH46gbl+HnjaGy
C8EAn3LPa4junr9OPp2cHhxJpJ+HCiL1
=R97/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20100203/642a2623/attachment.vcf>
More information about the Product-Developers
mailing list