Next Page

1

Previous Page

Thread: Merging Galleon with the Main Application

Created on: 07/31/12 04:48 PM

Replies: 0

PropellerHead


New Member


Joined: 07/26/12

Posts: 1

Merging Galleon with the Main Application
07/31/12 4:48 PM

I'd like to get some advice on the best way to integrate galleon forums with an existing application and by 'best' I mean least code to modify. :)

I have Galleon in a subfolder called 'forum' under the main root of my application. Right now it's working beautifully as a separate application however I would like to merge Galleon with my main application so I can do things like add a header and footer, and keep my original session variables. My application uses Application.cfc and Galleon is currently using Application.cfm. Does anybody have advice on the best way to approach this task?

It seems to me that there are at least 3 different ways to do it.
1) Convert the Galleon Application.cfm to .cfc and extend the original .cfc from the new Galleon .cfc.
2) Place all the configuration code from the current Galleon .cfm file into the current Application.cfc file and just bypass the Application.cfm file altogether.
3) Cfinclude the Application.cfm file into the current Application.cfc file via onRequestStart and modify the app not to use the cfapplication tag.

Ray was nice enough to point out #3 to me, so that might be the best way to go.
In any case the modification seems tricky spcially since the application name is being dynamically created for the admin section and the regular user section.

Has anybody integrated Galleon Forums with an exising applciation like this and if so would you be willing to share any advice about the process?

Link | Top | Bottom

Next Page

1

Previous Page

New Post

Please login to post a response.