Ok, so <cfmodule name="#variables.whichtag#"></cfmodule> should work.  What 
kind of funky thing are you doing in the <cfinclude>  If you take out the 
cfinclude briefly, what happens, does the tag run?  Let's go through the 
process of elimination here.

At 11:49 AM 6/22/2002 -0500, you wrote:
>Local  always!
>
>
>----- Original Message -----
>From: "Todd" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Saturday, June 22, 2002 11:49 AM
>Subject: Re: Dynamic Custom Tag Name
>
>
> > <cfmodule name="/path_to_this_tag/#variables.whichtag#">
> >
> > is this a local custom tag or a global custom tag?
> >
> > At 11:13 AM 6/22/2002 -0500, you wrote:
> > >Below is the actual code that I "was" using... my question now would be,
>if
> > >the "Include" contains <cfmodules> as well, will there be a conflict with
> > >the closing </cfmodule> tags?
> > >
> > >(Also, I didn't even think of this route :)
> > >
> > >
> > ><cf_site_layout
> > >  thisobject="#getproduct#"
> > >  title="#getproduct.title#"
> > >  keywords="#getproduct.keywords#"
> > >  meta_description="#getproduct.meta_description#">
> > >
> > >  <cfinclude template="../templates/#getproduct.template#">
> > >
> > ></cf_site_layout>
> > >
> > >New code:
> > >
> > ><cfmodule name="#variables.whichtag#">
> > >  thisobject="#getproduct#"
> > >  title="#getproduct.title#"
> > >  keywords="#getproduct.keywords#"
> > >  meta_description="#getproduct.meta_description#">
> > >
> > >  <cfinclude template="../templates/#getproduct.template#">
> > >
> > ></cfmodule>
> > >
> > >
> > >
> > >----- Original Message -----
> > >From: <[EMAIL PROTECTED]>
> > >To: "CF-Talk" <[EMAIL PROTECTED]>
> > >Sent: Saturday, June 22, 2002 10:19 AM
> > >Subject: Re: Dynamic Custom Tag Name
> > >
> > >
> > > > Isaac, just adding something else for Paul...
> > > >
> > > > <cfmodule name="#variables.whichtag#"></cfmodule> acts the same as
> > > > <cf_tag1></cf_tag1>
> > > >
> > > > On Sat, 22 Jun 2002, S. Isaac Dealey wrote:
> > > >
> > > > > Hi Paul,
> > > > >
> > > > > What you're wanting is <cfmodule> syntax... I typically use the
> > >template=""
> > > > > attribute and a relative path to the tag I need, however, if the
>tags
> > >you're
> > > > > accessing are in the custom tags directory you can use the name=""
> > > > > attribute.
> > > > >
> > > > > <cfmodule name="#variables.whichtag#">
> > > > >
> > > > > and of course pass any additional attributes you need.
> > > > >
> > > > > hope this helps,
> > > > >
> > > > >
> > > > > Isaac
> > > > >
> > > > > www.turnkey.to
> > > > > 954-776-0046
> > > >
> > > > --
> > > > ============================================================
> > > > Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
> > > >         Team Macromedia Volunteer for ColdFusion           |
> > > > http://www.macromedia.com/support/forums/team_macromedia/  |
> > > > http://www.flashCFM.com/   - webRat (Moderator)            |
> > > > http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
> > > > ============================================================
> > > >
> > > >
> > >
> >
>
______________________________________________________________________
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

Reply via email to