> 2) Use CFMODULE to call the template, which does allow you to pass in
vars.
<cfmodule template="../login/index.cfm" fuseAction="Login">
You can pass as many vars as you want to cfmodule like this. That is one of
the reason fusebox uses the attributes scope. So any page can me turned
into a cfmodule or custom tag.
--=@ greg @=--
----- Original Message -----
From: "Cameron Childress" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 12:32 PM
Subject: RE: Missing include errors...
> You cannot use a URL var in an include... You have a few options:
>
> 1) Use CFLOCATION instead, and relocate the user to the correct page if
they
> are not logged in.
> 2) Use CFMODULE to call the template, which does allow you to pass in
vars.
> 3) Set the fuseaction just prior tot he include (I know this is not proper
> FuseBox) IE:
>
> <cfif not isDefined("client.userid")>
> <CFSET fuseAction = Login >
> <cfinclude template="../login/index.cfm">
> </CFIF>
>
> -Cameron
>
> --------------------
> Cameron Childress
> elliptIQ Inc.
> p.770.460.7277.232
> f.770.460.0963
>
> > -----Original Message-----
> > From: Johnson, Russ [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 12, 2001 10:53 AM
> > To: Fusebox
> > Subject: Missing include errors...
> >
> >
> > Has anyone come across a situation where your application cannot find an
> > include on 4.5? I have been fighting this for 3 days!! I have a
cfinclude
> > in my dsp_footer.cfm file that calls to another circuit.
> >
> > <cfif not isDefined("client.userid")>
> > <cfinclude template="../login/index.cfm?fuseAction=Login">
> > </cfif>
> >
> > This will display a table on the right side of my page with a login
form.
> >
> > Here's the dilemma. If I use this format, it will not find the include.
I
> > keep getting that dreaded "you cannot use an absolute path". Well,
thats
> > not an absolute path.
> >
> > However, if I change the link to point directly to the dsp_login.cfm
page
> > instead of the index page, it works. So this tells me that the pathing
is
> > correct but there is something else going on behind the scenes
> > that will not
> > allow CF to include this file.
> >
> > Any ideas??
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists