Once again, this time w/o Ctl+Enter
for pasting....
You are not seeing your teaser, b/c the display method you
chose does not use the teaser.
For example, if I I choose the default display
handler (displayDefault.cfm), stObj.Teaser
is never output:
<cfsetting
enablecfoutputonly="Yes">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmHeader.cfm" pageTitle="#stObj.title#" bHasqForms=1>
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmHeader.cfm" pageTitle="#stObj.title#" bHasqForms=1>
<cfinclude
template="/farcry/#application.applicationname#/includedObj/#stObj.include#">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmFooter.cfm">
<cfsetting enablecfoutputonly="No">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmFooter.cfm">
<cfsetting enablecfoutputonly="No">
Whereas if I instead use displayTeaser.cfm:
<cfoutput>
<h4><a href="">#stObj.Title#</a></h4>
<p>#stObj.Teaser#
[<a href="">go</a>]</p>
</cfoutput>
<h4><a href="">#stObj.Title#</a></h4>
<p>#stObj.Teaser#
[<a href="">go</a>]</p>
</cfoutput>
You
can either create a new display method or modify the exising default
(displayDefault.cfm).
<cfsetting
enablecfoutputonly="Yes">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmHeader.cfm" pageTitle="#stObj.title#" bHasqForms=1>
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmHeader.cfm" pageTitle="#stObj.title#" bHasqForms=1>
<cfoutput> <p>#stObj.Teaser# </p> </cfoutput>
<cfinclude
template="/farcry/#application.applicationname#/includedObj/#stObj.include#">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmFooter.cfm">
<cfsetting enablecfoutputonly="No">
<cfmodule template="/farcry/#application.applicationname#/webskin/includes/dmFooter.cfm">
<cfsetting enablecfoutputonly="No">
Note
that I am referencing files in
/farcry_yourWeb/webskin/dmInclude.
Scott Talsma
CTO
echo•eleven
404.845.3458
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rogz (sent by Nabble.com)
Sent: Tuesday, January 10, 2006 1:34 PM
To: [email protected]
Subject: [farcry-dev] Teaser and Inlcuded objects
thanks
View this message in context: Teaser and Inlcuded objects
Sent from the FarCry - Dev forum at Nabble.com.
