| Author |
Messages |
|
rickwp Posts:20
 |
| 01/08/2008 8:29 PM |
|
Hi. I have a lot of questions. I'm wondering now if filter parameters can be passed through via the url in the same way that {sortlink} works? Or actually, what I'd like to be able to do is set up links that would go to the same module on the same page but include filter parameters like "month=1 and year=2008" etc. Can that be done, even through custom code? Or would I really need to create different instances of the module with various filters applied. I could set the filter control to be visible by the public, but the client would like to have a listing of links without adding multiple pages for each filter combination. It's always the next to impossible... Thanks for any advice on how to set something like that up. Rick |
|
|
|
|
host Posts:93
 |
| 01/08/2008 9:35 PM |
|
You might try something like {Filter}Month = {QryStringVar}month{/QryStringVar} and Year= {QryStringVar}year{/QryStringVar}{/Filter} |
|
|
|
|
rickwp Posts:20
 |
| 01/09/2008 4:21 AM |
|
That threw an error and didn't pass anything to the url. I tried {qrystringvar} on the outside of the {filter} tags and that didn't work either. I also tried {urlparams} which didn't throw any errors but it also didn't effect the url either. Will go with plan b and have multiple pages for the various filter combos, mostly its just a list of 30 categories and archives by month and year, so it's not a real big deal. It would be nice to be able to pass filter variables via the url like http://www.domain.com?category=2 or http://www.domain.com?month=jan&year=2006 or http://www.domain.com/pageid/moduleid/year/2008/month/jan/default.aspx or something like that to filter the records in an instance of the module on a page. The third would be trickier with multiple filters. Thanks for your help, Rick |
|
|
|
|
|