Patrick is right on. The only way I got it to work was to remove the rootPath from every include. Obviously the rootPath changes when this app is dropped inside of another one.
Also there are other paths set in fbx_settings that need to be corrected - request.queryPath and request.themePath. There are two options as I see it to get these to work. Either you can write the path out starting with fusebox.rootPath (e.g.: #fusebox.rootPath#/yourApp/forum/queries) or you can create a new rootpath for the forums app. I chose the latter as a quick fix and it seemed to work. Mind you I was just playing around to see how the forums would look wrapped inside of another site. In any case, here's what I wound up doing: <cfset forum = structNew()> <cfset forum.rootpath = ""> <!--- directory containing query files. ---> <cfparam name="request.queryPath" default="#forum.rootpath#queries"> <!--- directory containing theme settings files (styles, look & feel) ---> <cfparam name="request.themePath" default="#forum.rootpath#themes"> ----- Original Message ----- From: "Patrick McElhaney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 17, 2002 12:22 PM Subject: RE: Integrating Fusebox Apps/Circuits > > Chris wrote: > > > > <!--- include forum config file ---> > > <cfinclude template="#fusebox.rootpath#cfg_forumSettings.cfm"> > > > I think it will work if you just take out #fusebox.rootPath#. > > <cfinclude template="cfg_forumSettings.cfm"> > > Patrick > > ==^================================================================ 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 ==^================================================================
