Filter all list modules in an article by URL value

arcadeicons

Member
I'm building out a gaming league site that allows gamers to create their own leagues and scoreboards.

Currently I have a master scoreboard here....

http://www.arcadeicons.com/index.php

I also want to create a page view that is tailored to each specific Tournament ID (tournID) that only shows scores and stats for that event. I've been able to filiter list views in the URLs using the examples in the Wiki, but I really need to be able to show all the formatting I can get with list modules while ensuring everything on the page is filtered by the tournID value.
 
You can use query strings in prefilters. So if your query string for the page load is tournID=123, in your prefilters for the modules you could do ...

WHERE
Field: tournID(raw)
Condition: equals
Value: {tournID}
Type: text

-- hugh
 
Thanks. I tried this but it isn't displaying any results. I don't have the option to choose tournID(raw) in my pre-filters on my module.

TournID Field has several entries with value: 7

I'm passing my tournID values in my URL like this
index.php?option=com_content&view=article&id=7&tournID=7

Without the pre-filter I see all scores from all tournaments recorded in the table in the correct manner
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top