When dealing with related content references in arrays you should always be looking at skin:relatedcontent
Some docs can be found here, but i'd check the tag itself for the latest and greatest set of attributes: http://docs.farcrycms.org/display/FCDEV40/tags+webskin+relatedcontent For example you might use something like (not tested): <skin:relatedcontent objectid="#stobj.objectid#" typename="dmhtml" webskin="displayTeaserImage" filter="dmImage" arrayProperty="aObjectIDs" /> geoff http://www.daemon.com.au/ On Dec 12, 2:39 pm, Marco van den Oever <[email protected]> wrote: > Ok awesome, the TEASERIMAGE value is indeed shown in stobj when > selected for the given page so object. > > Only i don't see a aRelatedImages value, i do see a AOBJECTIDS array > with one value that is indeed the objectid of the related content > image. > > So i asume that based on the type used in: > > <skin:view objectid="#stobj.AOBJECTIDS[1]#" typename="dmImage" > template="displaySourceImage" /> > > The objectids (as there can be more then one - also flash / file) are > compared to the objectids in the AOBJECTIDS array to match. Then my > question is, how would i get the right objectid value from the array > AOBJECTIDS when there are multiple objectids. > > As you can see i now used #stobj.AOBJECTIDS[1]#, works for now but not > when i would select more then one image. > > Should i use a array loop to loop the skin:view code or something like > that, so that then by type in the skin:view code the right values for > the right skin:view type would be shown? > > Thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
