The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I add a filter to let user pick selection criteria for what to display?
I have a vBadvanced block that pulls articles based on certain criteria. It actually is using some custom fields (via GARS) and I've got a PHP module that pulls what I want... I can manipulate the criteria via a variable in the PHP program and get what I want. What I'd like to do is add a filter at the top of the block that lets the user pick the criteria, rather than having to have a lot of different pages for every different combination of criteria.
As an example to keep it simple... I have news about cars and the default may be to show all news... however I'd like the user to be able to set a filter for Ford, Chevy, or Dodge... and then have it regenerate the results to match the filter. How would I create the filter, and how would I pass it to the php file and get it to regenerate the page? Thanks. I figured it out... wasn't as tough as I thought it was... I just created a small javascript menu and directed the choice to a different url... with a variable for my selection... and then used $_REQUEST to retrieve it in my .php module. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|