Posted on: 11/15/03 12:00pm
By: jager
Here's what I'm trying to do.
I have a "Movie Reviews" topic. Using the menu plugin, I have 5 sub-topics for different ratings of movie reviews.
What I would like to have happen is for the "Movie Reviews" topic to act sort of like the homepage for the Movie Reviews section. The idea is that when a review is posted in any of the sub categories, it will show up in the main "Movie Reviews" topic as well. Ideally, the Movie Reviews topic would simply do a query which will display the stories from any of the other topics I indicate - but I'm not a PHP stud to know how to do that.
Can anyone help or point me to somewhere where this was done in the past? I tried searching through the forum with no luck.
Thanks! You can see the website where I'm trying to do this
here[*1] .
-Jager
Re:Having a topic display stories from other topics - possible?
Posted on: 11/17/03 09:51am
By: jager
Can anyone help with this? Am I not being clear?
Re:Having a topic display stories from other topics - possible?
Posted on: 11/17/03 10:06am
By: Turias
Hmmm, since I've never used sub-topics, I'm not sure if there is an easy way to get the functionality you want. I know that it wouldn't be too hard to hack your way through it with php, but since you aren't a php stud, I'm not sure how you are going to do it.
If I were going to hack it with php, I would find where the query was being done for the stories (start with index.html). Then, you can hack it by saying that if topic==MovieReviews_, hard code in a database query that says WHERE topic = 'MovieReviews_4Star' OR topic = 'MovieReviews_3Star' ... etc.
It's not easy, and not elegant, but doable. Maybe someone out there knows an easier way to do it...
Let me know if this helps, doesn't, etc.