[Zope] Returning the parent of a document
hpinson at indepthl.com
hpinson at indepthl.com
Sat Aug 16 17:59:30 EDT 2003
In Page Templates, how would I return the parent object, in this case
a folder, of getURL results? For example:
<a href="#" tal:attributes="href result/getURL"
tal:content="result/title">Item Title</a>
returns - 'http://mysite.org/myfolder/content.htm'
What I need returned is the URL of the folder that contains this
document, which is: 'http://mysite.org/myfolder'
Thanks for any ideas.
Harlow Pinson
Indepth Learning
Email: hpinson at indepthl.com
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678
More information about the Zope
mailing list