Ok, here is what I tried: I removed the cfcomponent tags in the org.corfield.framework file, and copied them to a folder.
I tried adding this: <cfif findnocase("domain.com",request.currentSiteDomain,"1")> <cfinclude template="/fw1/fw1.cfm"> <cfinclude template="/fw1/settings-domain-com.cfm"> <cfelse> <!--- All my other stuff for the other apps, including the onRequestStart function ---!> </cfif> I thought I would be good to go, but I am getting this error on the new app" Routines cannot be declared more than once. The routine onRequestStart has been declared twice in different templates. I don't understand why I am getting this as the second onRequestStart is within the cfelse and should not be seen. On Tue, Aug 31, 2010 at 11:39 AM, Matthew Smith <chedders...@gmail.com>wrote: > Using a shared host, and currently serving several different sites based > upon conditional code. > > I have just done a site in fw/1, and would like to incorporate the site > into the codebase. > > The fw/1 app has this in application.cfc: > <cfcomponent extends="org.corfield.framework" output="false"> > > Is there another way to do this? I would like to extend application.cfc, > but only for one domain. Is there another way to extend a component without > using the extends attribute? > > What would be the best way to go about this? > > -- > Regards, > Matthew Smith > > > -- Regards, Matthew Smith ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm