Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Trying to add user select view

Quote Reply
Trying to add user select view
I'm trying to add a drop down box on the category pages that will allow users to sort links by different options but I don't know if it's possible and the code I'm trying just sends you back to the home page when a selection is made. Can you solve the missing link?
Code:
<form name="select" method="post" action="">
<select onchange="select.submit()">
<option value="<%db_cgi_url%>/page.cgi?g=<%Full_Name%>;sb=Title;so=ASC">Title (A-Z)</option>
<option value="<%db_cgi_url%>/page.cgi?g=<%Full_Name%>;sb=Mod_Date;so=DESC">Updated</option>
<option value="<%db_cgi_url%>/page.cgi?g=<%Full_Name%>;sb=Rating;so=DESC">Highest Rated</option>
<option value="<%db_cgi_url%>/page.cgi?g=<%Full_Name%>;sb=Votes;so=DESC">Most Votes</option>
</select>
</form>

Not sure if <%Full_Name%> should be <%category%> but neither work anyway. Probably miles off with the coding.
Subject Author Views Date
Thread Trying to add user select view MJB 1456 Jul 28, 2005, 3:34 PM
Post Re: [MJB] Trying to add user select view
MJB 1388 Jul 30, 2005, 1:08 PM