[Zope-PTK] CVS: ZopePTK - favoriteView.dtml:1.1

Jens jens@zope.org
Wed, 21 Feb 2001 07:04:57 -0800


Update of /cvs-repository/ZopePTK/PTKDemo/dtml
In directory zope.codeit.com:/tmp/cvs-serv22306/dtml

Added Files:
	favoriteView.dtml 
Log Message:
Favorites have now been changed to store paths that are relative to the portal itself. the favorite for an item at http://<server>/myportal/Members/jens/mydoc would end up storing the URL Members/jens/mydoc.

This also necessitated a separate "view" method for favorites, which assembles a URL from the portal's path combined with the favorite's internal URL.

With these changes the Favorite object becomes more "portable" and will survive changes in the portal's virtual hosting or path setup.