[Zope] Use Zope internal style sheets

Jim Washington jwashin@vt.edu
Tue, 27 Nov 2001 09:51:00 -0500


Lars Heber wrote:

> Hello,
> 
> I'm about of building my own management screens for some ZClasses. They
> should totally fit the zopish outfit.
> Does anyone know where the used style sheets are stored?
> 
> What I did to build my management screen was to have a look at the
> rendered HTML code of an authentic Zope management screen, use the code
> and replace it by DTML where necessary. Even the Paste button only
> appears when it should. But I don't want to insert the style sheets hard
> coded, or pack it into an own document, but I want to use the real Zope
> CSS. Where can I find it?
> 
> I also started to play around with manage_tabs. I only found this object
> by property. Is it some kind of secret, or where can I find more of
> those extremely useful things (+documentation)?
> 


Lars,

You are very close to the solution.  <dtml-var manage_tabs> is part of 
it.  The remainder is to use <dtml-var manage_page_header> and <dtml-var 
manage_page_footer>

The manage_page_header has the css you want to include.

-- Jim Washington


> BTW: I recently asked how to change the headline of a self-written
> documentation for the Help System which is display on the Contents tab.
> I found that a Product Help does not have a property title. It just
> somehow takes the id of the product. But when this id of the product is
> changed, the Help remains with the old id though. How can I change this?
> 
> Thanks for any suggestions.
> 
> --
> Lars Heber, mailto:Lars.Heber@t-systems.de
> 
> T-Systems, debis Systemhaus GEI GmbH, Geschaeftsstelle Sachsen
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 



-- 

Jim Washington
Center for Assessment, Evaluation and Educational Programming
Department of Teaching and Learning, Virginia Tech