[Zope-CMF] Objects in portal_skins

Dieter Maurer dieter@handshake.de
Tue, 24 Jun 2003 20:04:23 +0200


Bert Vanderbauwhede wrote at 2003-6-24 07:31 +0200:
 > On Mon, 23 Jun 2003, Dieter Maurer wrote:
 > 
 > > Bert Vanderbauwhede wrote at 2003-6-23 16:40 +0200:
 > >  > How can I check if an object is (physically) located in portal_skins?
 > >
 > > I use the "Find" tab in "portal_skins" for this purpose.
 > 
 > I was thinking of something I could use as a test in a script or template.
 > Methods like absolute_url() give me no indication if an object is located
 > in portal_skins or one of its subfolders.

Why do you need this?

You may be able to combine "absolute_url" and "meta_type" to approximate
your condition.


Dieter