Is it possible using conditionals to have only one template(I named it articles) with dynamic-changing content. I just made a static left tmenu for my forum categories:
Introduction [forumid=1]
Articles [forumid=2]
Suggestions [forumid=3]
and so on.......
My initial moved was to have my left menu a link like:
<a href="/forums/view.php?pg=articles&forumid=1">Introduction</a>
<a href="/forums/view.php?pg=articles&forumid=2">Articles</a>
Now my problem is I don't know how to implement that so-called outside variables, so that when I click Articles(2), for example, it will go to view.php?pg=articles&forumid=2 and will display all threads that belong to Articles category. But remeber it use the same template, so if I click Introduction again, for example, it will go again to view.php?pg=articles&this_forumid_here_will_change _accordingly
Does anyone already done this. Please help me, I would greatly appreciate from you guys!
If I did not explain it thoroughly, kindly let me know.
|