You haven't given a lot of detail, so I assume the files and links are in pairs and you need to display them that way? You basically just need a way to match the file with the right link. The simplest way to do this is to make sure they have the same title. In that case you could query the db directly and do a join on the dmLink and dmFile tables to get pairs with the same titles.
If I was implementing this rule I would probably copy the one for news, change it to apply to dmFile, add a property for the link display method, update the queries to join to dmLink, then change the part that adds dmNews to the output array so it adds the file AND the link.
Sorry if this is too much too fast :) If you have questions about actual implementation, go ahead.
Cheers
Blair
On 9/16/06, monica <
[EMAIL PROTECTED]> wrote:
i need to be able to take the dmfile type and the dmlink type and have
them listed together alphabetically. Can this be done? I do not want
have to hand pick hundreds of file and links to do this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
