I see three solutions. On is to use an absolute path which is fairly obvious. Second is to pass the relative path into the custom tag. This might be dynamically generated by the calling template. Third is to use the var getBaseTemplatePath in the custom tag.
You'll have to do a bit of calculation to figure out the url part of the path youre looking for from the machine root path returned. DRE -----Original Message----- From: Michael Wilson [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 9:27 AM To: CF-Talk Subject: Cfmodule and Links Hi all, My apologies in advance; I am sure this has been discussed before and I have tried searching the archives with no luck. I have a directory structure something like this: TEST CODE (root) --------resources (sub dir of root) ----------------includes (sub directory of resources) ------------------------cfmodule1.cfm ------------------------cfmodule2.cfm --------dir1 (sub directory of root) ----------------template1.cfm ----------------dir2 (sub directory of dir1) ------------------------template2.cfm ------------------------dir3 (sub directory of dir2) --------------------------------template3.cfm How does one place links (navigation perhaps) in either cfmodule1.cfm or cfmodule2.cfm, and resolve them to work properly when <cfmodule>ed into template1.cfm, template2.cfm and template3.cfm? Is there a custom tag or a resource you can point me to for more information on this? Am I making any sense? Best regards, Michael Wilson - IQMax ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

