> Is there a possibility to get to know if a template > is called either via cfmodule or cfinclude? I can > see the difference between standalone and cfinclude > /cfmodule by executing a check with GetBaseTemplatePath > but no difference between the cfmodule and cfinclude > methods.
I imagine you could test for the existence of the ThisTag scope, which will only exist within a custom tag. But, this seems like an odd question; if you write something to be used as a custom tag, it isn't likely to work at all if you CFINCLUDE it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

