I'm trying to create tag indices as a pagetype, which basically means
that other objects of various types will be indexed by tag. The
problem is that the templates for certain pagetypes such as events vs.
news are different, and hence need to be used with different
templates.

Now, I can't use a method to call the template because if the method
is called without a template, I don't have a reference to "self" that
can be used. I can't just call a template because I need to know which
template to call based on a variable in the context.

How should I go about doing this? Should I just make different content
types, or have different classes extending the same class in the same
file and then assign the child classes to the right page types in
configure.zcml?
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to