[Zope] How to add tab into manage_tabs for DTML Document?
   
    Maik Jablonski
     
    maik.jablonski@uni-bielefeld.de
       
    Tue, 03 Sep 2002 09:28:04 +0200
    
    
  
hi,
for DTMLMethod/Documents create a ProductFolder with a __init__.py with:
from OFS.DTMLMethod import DTMLMethod
DTMLMethod.manage_options = DTMLMethod.manage_options + (
              {'label': 'NewTab',    'action': 'manage_newAction'},)
add the same for the other types you want to patch.
-mj
Jaroslav Lukesh wrote:
> Hi all,
> 
> It is no problem to add new tab into manage_tabs for new ZClass type. But
> do you have an idea how to add new tab to the exist DTML Document, DTML
> Method and File types?
> 
> I want to do it for ieeditor.
> 
> Many thanks, J. Lukesh
-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org