That is great, working now with one or multiple related content images
with:
<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmimage"
webskin="displaySourceImage"
rendertype="unordered" />
Also file works perfect, only when using the dmfile webskin
displaystandard then you get an auto download pop up, so i assume that
for multiple files you should adjust the webskin so it loops the files
etc:
<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmfile"
webskin="displayPageStandard"
rendertype="unordered" />
Flash is not displaying but that can be a browser / settings issue, i
only see a yellow rectangle with a dotted red line around:
<skin:relatedcontent
objectid="#stobj.objectid#"
arrayProperty="aObjectIDs"
typename="dmHTML"
filter="dmflash"
webskin="insertHTML_flash"
rendertype="unordered" />
Thank you
On Dec 12, 4:52 am, modius <[email protected]> wrote:
> 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" />
>
> geoffhttp://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
-~----------~----~----~----~------~----~------~--~---