Events seem to have this nice property in the Related Content section
of the event editing wizard that allows you to associate one or more
documents that exist in the document library with the event that is
being created.

However, none of the webskins seem to display this information.  I
realize that I have to add some code to the teaser or body webskins
(either in the CMS plugin area or in my own project), but the code for
this display seems like it might be complex since we are not just
accessing a simple property, but an array of items which are somewhat
distantly linked through three tables in the database.

Essentially, I need to just access the filenames of the documents in
the dmFile table that are relationally linked through the
dmEvent_aObjectIDs table to my event in the dmEvent table.  Doing this
in the syntax of farcry seems to be far beyond me at this point, so I
need some code here.  I'm not even sure where to look for examples of
this.  Even trying to grind through this in the obvious way seems too
much at this point.  Schematically, I would grab the object id of the
event, use this object id to get all the associated file ids by
querying the dmEvent_aObjectIDs table, and then finally look up all
the filenames using the associated filed ids. Is this the right way,
or is there a simpler way to do it?

As long as we are talking about syntax, I have another question. Just
where do I learn how to use all these libtag functions I keep running
into, such as <skin:view...> or <grid:container...> and the like?  Is
there any documentation for these libtag libraries?

gdhurst

--~--~---------~--~----~------------~-------~--~----~
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