Created by ZopeOrgSite . Last modified 2003-08-27 13:56:41.
You can suppress the rendering of the Document title by setting the request variable suppress_title
If You wonder how it works, look at /silva/service_widgets/top/doc/mode_view/render
There are several places where You can set this request attribute:
- in the index_html: no Documents will have a title displayed
- in some
content.html
or override.html: documents rendered in this folder skip headlines - if You define Your own content type using the
doc
XML tag somewhere, set it in the public view to suppress the title for this view.
Note the title is still displayed in the toc, and in the
tab_preview
. (Except if You disable it there ...)
Also note this does not influence the title display of other content types (e.g. the DemoObject) as their title rendering is somewhere else.
On the other hand it maybe makes sense to support the suppress_title
in the public view of Your custom content type, too.
Comment
How do you set a request variable?
Posted by: andrew_cohen at 2004-09-071) How do you sett the request variable suppress_title? Please show the example code and where it goes?
2) What link are you referring to by "/silva/service_widgets/top/doc/mode_view/render"? Is this a relative url? what is the absolute url?