Hi all -

I have created an Ad type to show different advertisements in a container. I
have also created a display method for this type. For some reason, after
editing the container and adding two ads using the display method, only one
of the ads show up. I have also created another method for this type called
the teaser method. If I try to display one ad in display and one ad in
teaser it works. Below is the code for the display handler. I can only think
the problem is in this code. However, if you think it is something else, let
me know.

<html>
<head>
</head>
<cfa_handler object="Ad" separator="<p>">
<cfoutput>
<body leftmargin="0" topmargin="0" rightmargin="0">
<table bordercolor="#Ad.borderColor#" border="2"
bgcolor="#Ad.backgroundColor#">
<tr><td align="center" width="170">
<cfif IsDefined("Ad.headline")><h3><font color="#Ad.textColor#"
face="Arial">#Ad.headline#</h3></cfif>
<cfif IsDefined("Ad.body")><p>#Ad.body#</p></cfif></font>
<cfa_contentObject
    dataSource="cfaObjects"
    objectID="#Ad.objectID#.image"
    method="display"
    >
</cfoutput>
</td></tr>
</table>

</body>
</html>

Thank you in advance for your help,
Laura


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to