> Why not use CFMODULE? You can include attributes along with it. > > Bruce > > Adam Parker wrote: > > I currently use BlogFusion to run a blog for a school. At the end > of each blog post, there is a link to view or add comments. This link > uses JS to open in a new window calling the file comments.cfm. I > would like to diplay the content of comments.cfm on the same page as > the blog entry instead of opening in a new window. I have tried > using > > > > <cfinclude template="comments. > cfm?action=comments1&commentID=#findContent.entryID#" /> > > > > but produces an invalid argument error. Does CFinclude not like > calling additional parameters? Can I only use a set file name? Maybe > I'm going about this wrong, but I'm not certain how else to achieve > this. > > > > > > Using <cfmodule template="comments.cfm?action=comments1&commentID=#findContent.entryID#" /> results in an invalid argument error again. With this method, there is no need to declare <cfset url.action = "comments1"> <cfset url.commentID = "findContent.entryID"> correct?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3079 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
