[Zope] Tweaking the management interface
Kevin Dangoor
kid@kendermedia.com
Wed, 31 May 2000 16:13:17 -0400
----- Original Message -----
From: "peter" <peter@grenna.net>
To: <zope@zope.org>
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