You need to supress the layout in the circuit you are calling via the cfmodule...else the module will apply the typicallayout to itself and since this is calling the cfmodule it keeps on going, it becomes quite messy! Easy to solve though,
<cfparam name="attributes.SuppressLayout" default="true"> It's great to be able to use cfmodule's to fuseactions for use in CMS/Navigation applications - although I am playing with FuseQ since apparently it increases performance by 15% due to the fact you don't need to use cfmodule, Hth, John. > -----Original Message----- > From: Dave Phipps [mailto:[EMAIL PROTECTED]] > Sent: 20 May 2002 11:37 > To: [EMAIL PROTECTED] > Subject: Re: CFmodule in layout file > > > Thanks Lee/Stephen, I took out the query string and it > didn't throw the > error however it seemed to become locked in an infinite loop > and never > displays anything. > > In a normal situation I would just put the nav bar into the > layout file > directly but this was just tinkering to try and see when I > might need to > use cfmodule but it seems to be more trouble than it is worth > for the sort > of projects I am currently working on. > > Thanks anyway. > > Dave > > At 11:29 20/05/2002 +0100, you wrote: > >David, > > > > > > > > in help circuit's typicallayout page I have the following: > > > <cfmodule="#fusebox.rootpath##request.self#?#request.urltoken#" > > > fuseaction="help.nav"> <cfoutput>#fusebox.layout#</cfoutput> > > > > > > > > >You can't have a query string on the template name in a cfmodule. > > > ><cfmodule template="#fusebox.rootpath##request.self#" > >fuseaction="help.nav" urltoken="#request.urltoken#"> > > > >To be honest David, if all your help.nav is doing is > displaying a help > >navigation bar/item, then you'd be best off sticking the > dsp_ file in > >your top level display folder and just including it directly > into your > >layout. The overhead on using cfmodule for the functionality you're > >adding is not worth the effort. > > > >Regards > > > >Stephen > > > > > ============================================ > Phipps CF Development > Oxford, Oxfordshire. > Telephone: +44(0)7718 896696 > http://www.phipps-cf.co.uk > ============================================ > > > > _____________________________________________________________________ > This message has been checked for all known viruses by UUNET > delivered > through the MessageLabs Virus Control Centre. For further > information visit http://www.uk.uu.net/products/security/virus/ > _____________________________________________________________________ This message has been checked for all known viruses by UUNET delivered through the MessageLabs Virus Control Centre. For further information visit http://www.uk.uu.net/products/security/virus/ ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
