I'm building a custom tag for my app which will reside in the my site's
custom_tag directory. The custom tag uses the FileExists() function which
requires as a parameter the relative path to the file whose existence is
being tested. I plan on using this custom tag on a number of templates
throughout the site, probably at different levels of in the directory
structure.

My question is whether the relative path for FileExists is relative to the
custom tag template or relative to the template which calls the custom tag?
If the first, no problem. If the second, how do I account for relative path
not being the same in the various calling templates? (I'd prefer not to pass
the relative path as a variable)

Thanks.

---------------
Regards,
Bob Haroche
O n P o i n t  S o l u t i o n s
www.OnPointSolutions.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to