<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>I am developping a
Zope object that will be used in a CMF site, specially in the portal_skins
subfolders.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>But I can not find
out a way to get the physical path of my objects, because getPhysicalPath(),
uppon portal_skins traversal, only returns a path down to the CMF
site root : all the extra subfolders are
omitted...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>ex : if I put my
object in /MyCMFSIte/portal_skins/DEFAULT/myobject</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>getPhysicalPath()
returns '','MyCMFSIte','myobject'</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>and I would like to
get '','MyCMFSIte','portal_skins','DEFAULT','myobject'</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=406380114-30082004>Any idea about how
to do that ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004>Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=406380114-30082004>Pascal</SPAN></FONT></DIV>
<BR>
________________________________________________________________________<BR>
This e-mail has been scanned for all viruses by Star Internet. The<BR>
service is powered by MessageLabs. For more information on a proactive<BR>
anti-virus service working around the clock, around the globe, visit:<BR>
<A
href=http://www.star.net.uk>
http://www.star.net.uk</A><BR>
________________________________________________________________________<BR>
</BODY></HTML>