[Zope3-Users] Viewlet Manager Configuration

2008-01-16 Thread kevin gill
Is it possible to pass parameters from a skin page template to a Viewlet
Manager?

The requirement is to use the same Viewlet Manager in different places on
a page, and control the content based on configuration information.

For example:

Adverts are served on pages with unique slot information to track clicks.
If we use a Viewlet Manager to display adverts, the page template could
pass the slot id through to the Viewlet Manager, which ultimately could
use this information to generate HTML with appropriate links.

The alternative is to create multiple of Viewlet Managers with the
contextual information coded in python.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


AW: [Zope3-Users] Viewlet Manager Configuration

2008-01-16 Thread Roger Ineichen
Hi Kevin

 Betreff: [Zope3-Users] Viewlet Manager Configuration
 
 Is it possible to pass parameters from a skin page template 
 to a Viewlet Manager?
 
 The requirement is to use the same Viewlet Manager in 
 different places on a page, and control the content based on 
 configuration information.

Yes,
see zope.contentprovider.interfaces.ITALNamespaceData

See also the README.txt line 410 in that package.

Regards
Roger Ineichen
_
END OF MESSAGE

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users