From: John B. <ds...@zo...> - 2001-06-08 03:46:41
|
Hi all, I'm trying to coax slash into displaying story-related information that isn't stored in the stories table. I was hoping to be able to just change the query in getStory(), however, it seems that it's going through the query result cache, and I can't tell if there's any way that I can join the story table to something else without bypassing the story cache altogether. What I'm trying to do right now is display a submission comments field that we've added to the submissions table, but I will likely need to pull from other sources with more complex relationships than a simple "left join submissions using(subid)". Is this possible at all? If not, is there a way to do a query directly from the template system? It seems like that's possible, but there doesn't seem to be much in the way of documentation for the template syntax. Thanks, -John -- John Bafford ds...@zo... http://www.dshadow.com/ |