[Zope-PTK] CVS: ZopePTK - URLTool.py:1.3

Jens jens@zope.org
Wed, 21 Feb 2001 06:38:39 -0800


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

Modified Files:
	URLTool.py 
Log Message:
Added a method called "getRelativeUrl" that will return a URL relative to the portal itself, meaning something that resides at http://<server>/myportal/Members/jens/doc1 would return Members/jens/doc1 as the relative URL.

the argument that needs to be passed is the content object for which the path is needed.