We have several objects that share parts of their schemata. (In our local terminology we call them "modules" because users were confusing them with portlets.) The tal for these modules is the same for every object. (For example there's a multimedia block that displays videos, flickr photosets, and images.) That tal has gotten to about 200 lines and resides in five or six different template files. I'm looking for a way to not have to copy-paste the tal into each template any time it changes.
One thought I had would be to use a viewlet, but I'm not sure if that's the best solution, or even what steps I should take to make the viewlet aware of the context of the content object (or at least the fields I need) being viewed. (Talking Plone 3 here, for now.) I would appreciate any suggestions you might have for how to go about this. Best wishes, Michael A. Smith Web & Digital / Academic Technologies Manager Nazareth College _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
