1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Trim/Replace URL String help needed please

Discussion in 'ASP' started by AndyJay2011, Jun 15, 2011.

  1. AndyJay2011

    AndyJay2011 New Member

    Joined:
    Jun 15, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi all......
    Can anyone help me out with this one please?
    I have a results page that displays products in order of product name.
    I have a dropdown menu with three order options (price low, price high and manufacturer).
    I want to be able to select an option and have the page display the products by one of the three order options.
    So far i've created a DIM for the dropdown menu value. The DIM requests the Querystring which is the url for the results page like:

    results.asp?menuselect=e&CategoryID=30

    I then want to 'tag' the dropdown menu value on the end of this url when an option is selected and the page is submitted to itself

    Bearing in mind the new url will be something like:

    results.asp?menuselect=e&CategoryID=30&sortby=pricehigh

    I will need to be able to replace anything after the sortby= with the new menu option value if the visitor changes the order.

    Hope that makes some kind of sense :)

    Thanks in advance
    Andy
     
  2. AndyJay2011

    AndyJay2011 New Member

    Joined:
    Jun 15, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    No replies yet.
    Does anyone understand what i'm trying to acheive? :)

    Thanks
    Andy
     

Share This Page