28 Feb
2001
28 Feb
'01
12:07 a.m.
We have our staff listed under /staff, so that you might find me as /staff?staffname=joel I'd like the return page from this method to check if I have a homepage on the site, and if so, provide a link. Right now, I'm doing this as: <dtml-in "PARENTS[1].home.objectIds(['Folder'])"> <dtml-if "_['sequence-item']==staffname"> <a href="/home/&dtml-staffname;">There is a home page</a> </dtml-if> </dtml-in> (cycle through folders under the '/home' directory, check the seq-id against my name, and if so, generate a link.) Is there a cleaner way to do this? Thanks! -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org)