Stacy Roberts wrote:
I am trying to find a way to override the functionality of the top frame when inside a specific product. Can someone please steer me in the right direction as to how I can get my product to see the customized top frame instead of the default?
I have the new top frame in my dtml folder. I just can't get Zope to recognize it.
Thanks in advance.
I think in principal it should work the sameway as it is done with the standard mgmt. screens, i.e. declaring manage_top_frame = DTMLFile(...) in your class. But, and that is a big but, you are dependent on how manage_top_frame is called in the ZMI, and I expect it to be called absolutely - check the source for that - so that your products manage_to_frame won't be called. To remedy that, you'll need some javascript in the main mgmt. view of your product to update the topframe when it's viewed. HTH, oliver