Use CFMODULE and map a path for the templates.

if you use this method, you should still be able to call includes.

Regards

Steve Onnis
Domain Concept Designs
+61 422 337 685
+61 3 9444 7504

http://www.domainconceptdesigns.com <http://www.domainconceptdesigns.com>

("If you think it can't be done, you haven't asked me!") - Steve Onnis





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Adam
Chapman
Sent: Tuesday, January 07, 2003 3:09 PM
To: CFAussie Mailing List
Subject: [cfaussie] cfinclude from a custom tag..


Hi Everyone,

Is it possible to do something like this..

I have a number of websites which will use
the same custom tag. The custom tag will do
some processing to determine which template
to cfinclude and cfinclude that template.

The problem comes when actually trying to
cfinclude the template as the relative path
is relative to the custom tag and not the
template from which the custom tag is called.

I know the full path to the file i want to
include but need a relative path.

Any ideas? (besides placing the custom tag in
every website.. which kind of defeats the purpose
of a 'global' code template)

I guess i could create a caller scope var and
cfinclude the template outside of the tag but
would like to have all code in the custom tag
if possible..

Am i making sense? I didnt think so either..

Regards,
Adam


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to