Marko Kruijer wrote at 2006-9-19 13:01 +0200: >I am trying to create a custom object under control_panel/products >What i want is a simple object that i can give properties that will >automatically be indexed by a zcatalog. > >I have succeeded in doing this already, however I have based my object >on the DTML document base class. >I want to use page templates to display my content, but this only works >if i call the template over the object like so: >http://mysite/myobject/template
If you name your template "index_html", you may be able to call it without explicitly mentioning (this requires that the object itself does not define "index_html" as a DTML object does). -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )