[Zope-dev] Modifying a menu

Adrian Hungate adrian@haqa.co.uk
Fri, 15 Mar 2002 07:59:05 -0000


If you want to remove (Hide) items in this menu, the easiest way is to
download my PatchKit product ( http://www.zope.org/Members/haqa/PatchKit )
which allows you to choose items to hide from the "select..." list.

If you want to add items to the list, the easiest way is to look around
Zope.org's Products section ( http://www.zope.org/Products ) which contains
MANY products that you can add to the list simply by installing them.

Hope this helps, and hope you enjoy learning and using Zope. (I did, and
still do!)

Adrian...

--
The difficulty of tactical maneuvering consists in turning the devious into
the direct, and misfortune into gain.
- Sun Tzu


----- Original Message -----
From: "Marcia Perry" <mperry@lbl.gov>
To: <zope-dev@zope.org>
Sent: Friday, March 15, 2002 3:02 AM
Subject: [Zope-dev] Modifying a menu


> Hi,
>
> Where in the Zope src is the menu labeled "Select type to add..." created?
>
> We want to change this pulldown menu but I'm not familiar w/ the Zope
> src code.  I started w/ the obvious: after pointing my browser at http://
> myhost:8080/manage and getting the Zope page, I did Netscape -> View ->
> Page Source and see the 3 frames.  I think the menu I'm interested in
> is in the frame w/ src="http://myhost:8080/manage_workspace" w/ name=
> "manage_main".  So I searched thru. the src, grep'ng for some strings
> and located "manage_main" in ZopePageTemplate.py.  But that's as far
> as I got.  I'm new to Zope, don't have time to step thru. all the code,
> but gotta dive in and make some changes to this menu.
>
> Please help! And if there's some documentation that describes the code,
> I'd be stoked.
>
> Thanks,
> -- marc
> ----------------------------------------------------------------
> Marc Perry                              MPerry@lbl.gov
> Lawrence Berkeley National Laboratory   WORK#  (510) 486-6786
> 1 Cyclotron Road                        FAX#   (510) 486-6363
> Berkeley, CA 94720     MS: 50A-3111
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>