Todd, Actually it seems to be working correctly ... my secondary question was through the following example:
Below I have the module that calls the whichtag variable... then between that cfmodule, I "may" have another similar cfmodule call that calls an alertbox or other custom tag ... These tags are always local. I guess I am making sure that I do not have any problems running a cfmodule within a cfmodule ... (looking down the road). <cfmodule name="#variables.whichtag#"> <!--- Expanded include ---> <cfmodule template="../tags/alertbox.cfm"> Oops, you have an issue </cfmodule> <!--- End of Expanded include ---> </cfmodule> ----- Original Message ----- From: "Todd" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, June 22, 2002 11:59 AM Subject: Re: Dynamic Custom Tag Name > 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) | > > > > > ============================================================ > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists