It sounds like the question was solved, but I just wanted to take a moment to plug my DataPages extension:
http://code.google.com/p/data-pages-extension/ Provided you had a way to export your people-data into JSON files (or through a respond_to block in another Rails app's controller), you could make a Virtual Data page for your people directory that templates the external data. (See the examples on the wiki.) The upside of this would be that you wouldn't have to co-mingle your people data with your document data, which is cleaner IMHO. Also, you wouldn't have to implement new Radius tags if your data schema ever changes. -Andrew On Jan 20, 2008 5:34 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: > > > Thanks Sean. To my surprise, somehow I managed to make it work not long > > after clicking on the send button. I also found your extension which helped > > somehow, together with the archive extension. Who would say that simply > > stearing long enough at the code you don't really understand could get you > > somewhere. :) My head is spinning, but its fun. > > > > Now I need to make use of model associations. I see the syllabi is > > associated with courses etc, but haven't found yet how you use it in the > > tags. > > > Look in lib/syllabi_tags.rb for how the majority of the tags are > defined. Basically, there's <r:prefix>, <r:courses>, <r:syllabi> tags > and various others below it. All they do is assist in looping over the > associations and emitting attributes, really. > > > Sean > > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
