[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] Tweaking the management interface
From:       "Kevin Dangoor" <kid () kendermedia ! com>
Date:       2000-05-31 20:13:17
[Download RAW message or body]

----- 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


_______________________________________________
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 )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic