[Zope-CMF] CMF Framed and Favorites

Dieter Maurer dieter@handshake.de
Sat, 5 Apr 2003 08:00:20 +0200


Michael Havard wrote at 2003-4-4 16:54 +0000:
 > We have a CMF site that has been seperated out into frames. Everything seems 
 > to work well except when using addToFavorites. I will only add the root CMF 
 > directory to the favorite instead of the document in the workspace.
 > 
 > I remember reading somewhere long ago (before we converted to frames) how to 
 > fix this but I don't seem to be able to find that information anymore. 
 > Anyone have experience with this?

I expect, the "addToFavorite" action is activated in a frame
that does not show the target object, right?

  "addToFavorite" need to know this object. You may need
  javascript to determine the correct URL for this object
  and then construct the appropriate "addToFavorite"-URL to use.


Dieter