Sample include file (just includes a customer's google calendar: *<cfsetting enablecfoutputonly="true">* *<!--- @@displayname: Google Calendar --->* *<!--- @@author: Jake Churchill ([email protected]) --->* *<cfoutput>* *<iframe src="--OMITTED--" style="border-width:0px;" width="100%" frameborder="0" height="588"></iframe>* *</cfoutput>* *<cfsetting enablecfoutputonly="false">*
Here's the sample include webskin: *<cfsetting enablecfoutputonly="true" /> * *<!--- @@displayname: 2 Column Template --->* *<!--- @@author: Jake Churchill ([email protected])--->* * * *<cfimport taglib="/farcry/core/tags/container" prefix="con" />* *<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />* * * *<skin:view objectid="#stobj.objectid#" typename="#stobj.typename#" template="displayHeaderStandard" stParam="#stParam#">* * <!-- this includes the file -->* * **<cfinclude template="#stObj.include#">* * * *<skin:view objectid="#stobj.objectid#" typename="#stobj.typename#" template="displayFooterStandard" footerIndent="0">* * * *<cfsetting enablecfoutputonly="false" /> * Hope that helps. -Jake On Tue, Jan 5, 2010 at 5:04 PM, AJ Mercer <[email protected]> wrote: > Your dmInclude webskin will need to include header and footer code in the > same way the the dmHTML webskins do > > > 2010/1/5 West <[email protected]> > >> How do you embed a CF include into an existing HTML page? I have an >> include (shown below) in the folder "includedObj", when I try to view >> this page I don't see my websites layout (header, footer, etc), all I >> see is the included content. >> >> Code snippet from my include: >> >> <!--- @@displayname: Customer Photos ---> >> <!--- @@author: me ---> >> >> <cfimport taglib="/farcry/core/tags/webskin" prefix="skin"> >> <cfimport taglib="/farcry/core/tags/container" prefix="con" /> >> >> >> <cfoutput> >> >> <div> >> Customer Videos will go here >> </div> >> >> </cfoutput> >> >> Any idea why I might not be seeing the website wrapper and only the >> included content? >> >> Thanks, >> >> -West >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] >> To unsubscribe, email: >> [email protected]<farcry-dev%[email protected]> >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> > > > > -- > AJ Mercer > http://webonix.net > http://twitter.com/webonix > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry >
-- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
