There's a donation link in the admin section on your webtemplates.
Is it possible to pass a variable between a webtemplate and a webquery? I'm using webtemplates to display the Fixtures for upcoming sporting events, and will have a thread for each Fixture. I'd like to show the number of replies, views and have a link to the last post in each thread, and if I could do this it'd avoid creating 300+ almost identical webqueries.
What I'd like to do is
create a webquery called $WQ_thread_info
call this from a webtemplate, and pass a threadid at the same time, eg
$WQ_thread_info(10699)
Have the webquery run a select statement which is filtered by my threadid
eg:
select replycount, views, lastpostid from thread
where threadid = 10699
Thanks for any info you can give me,
Moses.
|