Hi gdhurst, some related content example code from my side:

For below first code block, to show related images, in farcry/projects/
yourproject/webskin/dmImage place - displaySourceImage.cfm

<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmimage"
webskin="displaySourceImage"
rendertype="unordered" />

Code for files:

<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmfile"
webskin="displayPageStandard"
rendertype="unordered" />

Code for flash:

<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmflash"
webskin="insertHTML_flash"
rendertype="unordered" />

If a teaser image exists, show it:

To show the teaser image, in farcry/projects/yourproject/webskin/
dmImage place - displayTeaserImage.cfm

<cfif len(stobj.teaserimage)>
<p>
<skin:view objectID="#stObj.teaserImage#"
template="displayTeaserImage" />
</p>
</cfif>

If you are not using cfeclipse like Tomek suggested it's indeed best
to check where the tag (you are working with or have questions about)
is located and take a peak in the comments and structure in the tag
code, that's a quick way to understand what it does etc.

So like Tomek said for related content (which is a tag and part of web
skin functionality) check the webskin folder in farcry/core/ tags /
webskin, then look for the relatedcontent.cfm tag and check the
comments and code.

Cheers,

Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to