----- Original Message -----
From: "peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 31, 2000 3:18 PM
Subject: [Zope] Tweaking the management interface


> So I can change this simply in zoperoot\lib\python\App\manage.dtml
> I save a file called extramenu.dtml in the same location as menu.dtml and
> main.dtml, zoperoot\lib\python\App\ and zoperoot\lib\python\Ofs
respectivly.
>
> All I get is an 'Resource not found' error in frame 3.
>
> So, where should I save my extramenu.dtml and should at all call it
> extramenu.dtml or manage_extramenu.dtml?
> And do I have to change any Python code?

One way to do this would be to just create the DTML method in the root of
your ZODB. That would probably be more convenient for you to experiment with
anyway. Otherwise, you'll need to make a change to Management.py... here's a
grep:

Management.py:    manage_menu     =HTMLFile('menu', globals())
Management.py:        ('View management screens', ('manage',
'manage_menu',)),

Just do
manage_extramenu=HTMLFile('extramenu', globals())

and add 'manage_extramenu' to the tuple for View management screens to set
up the permissions...

Kevin


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to