[Zope] Physical path of objects in portal_skins tool of a CMF site

jens.walte at kk.net jens.walte at kk.net
Mon Aug 30 10:11:22 EDT 2004


Hi Pascal,

the meta_type of "portal_skins" and "DEFAULT" is really 'Folder' ?
what returns aq_parent.id on "myobject"?

greetz
Jens

Original Message        processed by David InfoCenter 
Subject: [Zope] Physical path of objects in portal_skins tool of a CMF site (30-Aug-2004 15:56)
From:    Pperegrina at Lastminute.com
To:      jw at obelix.bb.kk.net


Hi,

I am developping a Zope object that will be used in a CMF site, specially in the portal_skins subfolders.

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...

ex : if I put my object in /MyCMFSIte/portal_skins/DEFAULT/myobject
getPhysicalPath() returns '','MyCMFSIte','myobject'
and I would like to get '','MyCMFSIte','portal_skins','DEFAULT','myobject'

Any idea about how to do that ?

Thanks.

Pascal

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

To: Pperegrina at Lastminute.com
Cc: zope at zope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040830/b95f6762/attachment.htm


More information about the Zope mailing list