[Zope] Help
Max M
maxm@mxm.dk
Fri, 15 Mar 2002 08:19:58 +0000
Todd Loomis, DMSO (SAIC) wrote:
first, your subject could be a little better than just "Help",
> I've created a search form and want the results to show the paths
> folders actual titles that I name the.
Is this english ;-)
> So for example this is the path:
>
> public/filelibrary/me.pdf
>
> using this code:
>
> <dtml-var "keywords.getpath(data_record_id_)">
>
> I would like to show this (the folders titles in the path):
>
> Public Area/Document Library/ My PDF
Perhaps using slice on the absolute_url() would be the simplest way?
like (untested):
<dtml-var
"keywords.getpath(data_record_id_).absolute_url()[_.len('http://www.site.com/'):]">
regards Max M