Next Page

1

Previous Page

Thread: Merging Application.cfc with Application.cfm

Created on: 02/20/11 10:30 PM

Replies: 0

keith





Joined: 08/22/10

Posts: 3

Merging Application.cfc with Application.cfm
02/20/11 10:30 PM

If you have a ColdFusion web application that uses an Application.cfc and you want to integrate ContentCafe with this web app, you need to modify the Application.cfc file so it includes ContentCafe Application.cfm file.

To do this, look for the function named "onrequestStart" and modify it to include ContentCafe's Application.cfm file, eg:

        <cffunction
   name="onrequestStart">
   <!--- original Application.cfc code --->
   ...
   
   <!--- include the ContentCafe Application.cfm file --->
   		<cfinclude template="[location of Application.cfm]">
   	</cffunction>


I hope this helps!
* Last updated by: keith on 2/20/2011 @ 10:31 PM *

Link | Top | Bottom

Next Page

1

Previous Page

New Post

Please login to post a response.