CFSETTING changes the way the reqeust is processed in various ways. We only care about the ENABLECFOUTPUTONLY attribute in this case, which determines whether all rendered content is sent to the browser or only the content that's contained within CFOUTPUT tags. To put that another way, content within CFOUTPUT tags is always sent to the browser, but content outside CFOUTPUT tags is only sent when ENABLECFOUTPUTONLY is false (it's default state). CFSETTING is like flipping a switch; it's not a block-level tag that affects it's contained elements (like CFOUTPUT or CFIF).
Take this sample page for example: <html> <head> <title>Hello, World!</title> </head> <body> <cfsetting enablecfoutputonly="true" /> <cfoutput>it's now #now()#</cfoutput> </body> </html> The page will start processing, emitting all it's content. So everything down to the BODY tag will be sent to the browser. Then the CFSETTING tag is encountered, and it changes the way the page is processed so that only content within CFOUTPUT blocks is returned. Processing continues, and the line that displays the date will be sent to the browser. The closing BODY and HTML tags, however, will not be set to the browser, because the request is still in ENABLECFOUTPUTONLY mode. If you were to add a second CFSETTING tag with ENABLECFOUTPUTONLY="false" after the closing CFOUTPUT tag, then the remainder of the page would be sent. That make more sense? cheers, barneyb On 12/12/05, daniel kessler <[EMAIL PROTECTED]> wrote: > > >Do you have CFSETTING ENABLECFOUTPUTONLY enabled by chance? Those > > >tags are outside CFOUTPUT tags, so if that setting is enabled, they > > >won't be emitted. > > > > hmm. well I don't know where to find that and I don't see anything for > > "enablecfoutputonly". But because of what you've said, I wrapped that > > part in a set of cfoutput tags and they now appears. > > I found cfsetting and set it. It wasn't in my code already so it was acting > in it's default state. I set it to enablecfoutputonly = YES and then wrapped > the </channel></rss> in cfoutput and this worked for the bottom, but now the > top, which previously was in there, is now not. I set it then to NO and I > received alot of extras in there. > > I then removed cfsetting altogether and wrapped the </channel></rss> in > cfoutput and the top displayed and the bottom displayed. I'm gonna go with > not understanding but working this time I guess. > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226866 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

