<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) | > > ============================================================ > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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