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>
 
 <cfinclude template="/farcry/#application.applicationname#/includedObj/#stObj.include#">
 
 <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> 
 
 
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>
 
 <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">
 
 
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

Hi there...I have created an included object that contains a form used to process some information.  I also need to have some text editable by the user on the same page...is it possible to have the teaser work in this manner?  I want to be able to have the user edit some information on a page and also include my object below it....when creating the include object i can enter the teaser information however nothing is displayed when viewing the actual link.

thanks

View this message in context: Teaser and Inlcuded objects
Sent from the FarCry - Dev forum at Nabble.com.

Reply via email to