Integrating FarCry and fusebox.org
These notes assume you have already followed Sandy's How to install FarCry instructions to the letter. Here's how to get the old fusebox.org site and the new FarCry installation integrated.
Directory tree changes
Under your webroot d:\wwwroot create:
d:\wwwroot\fuseboxorg
Go and get a copy of the fusebox.org from SVN (yes, we should add more explicit instructions than this!).
Place the old fusebox.org site in d:\wwwroot\fuseboxorg - so you'll have folders: content, controller, css etc as well as files: Application.cfm, circuit.dtd, error.htm etc.
FarCry file changes
In d:\wwwroot\farcry\fuseboxorg\www you need to change Application.cfm so that requests with a fuseaction URL parameter are intercepted. Add the following code after the <cfsetting> tag, before the <cfimport> tag:
<cfif structKeyExists(URL,"fuseaction")> <!--- looks like a request for the old site ---> <cfapplication name="fuseboxorg_fb" /> <cfset FUSEBOX_APPLICATION_PATH = "../../../fuseboxorg" /> <cfinclude template="../../../fuseboxorg/fusebox5/fusebox5.cfm" /> <cfabort /> </cfif>
Merging common directories
Finally, in order for the old fusebox.org site to have the correct look'n'feel, you need to merge a few directories.
Copy the contents of d:\wwwroot\fuseboxorg\css to d:\wwwroot\farcry\fuseboxorg\www\css
Copy the directory ie7 from d:\wwwroot\fuseboxorg to d:\wwwroot\farcry\fuseboxorg\www
Copy the contents of d:\wwwroot\fuseboxorg\images to d:\wwwroot\farcry\fuseboxorg\www\images
And in order for the downloads to work, you need to copy this directory:
d:\wwwroot\fuseboxorg\downloads\downloadablefiles
to this location:
d:\wwwroot\farcry\fuseboxorg\www\downloads\downloadablefiles
Testing the combined site
If you've done everything correctly, when you visit /fuseboxorg in your browser, you'll see the FarCry version of the site but if you visit /fuseboxorg/index.cfm?fuseaction=fusebox.main, you'll see the good ol' fusebox.org site you've come to know and love. And you should be able to click around the old style site and the links should pretty much all work. Yay!
