Hi: I've created a search form and want the results to show the paths folders actual titles that I name the. 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 Can you assist me. Thanks, Todd ============================== Todd Loomis DMSO, {SAIC} 1901 N. Beauregard Street, Suite 500 Alexandria, VA 22311 Office: 703.824.3407 Fax: 703.379.3778 tloomis@dmso.mil
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
participants (2)
-
Max M -
Todd Loomis, DMSO (SAIC)