[Zope] custom zclass content object

Dieter Maurer dieter at handshake.de
Tue Sep 19 13:59:42 EDT 2006


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


More information about the Zope mailing list