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.
Quote Reply
Re: [MJB] Trying to add user select view In reply to
Decided not to continue with this as I've read in another thread that it doesn't work with spanned pages. Tried it with basic hyperlinks in both dynamic and static pages and it only sorts links on the first page, none of the additional span pages.