Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Changing Sort Drop Down To Text

Changing Sort Drop Down To Text

Locked

Started by cyberwoolf on 26 May 2007, 3:36 AM · Views: 1,262

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 May 2007, 3:36 AM
#1
cyberwoolf avatar

cyberwoolf

Zen Follower

Join Date:
Oct 2005
Posts:
97
Plugin Contributions:
0

Changing Sort Drop Down To Text

Hi..

Is there a way to make the dropdown box for sorting into text links?

So it would like: Sort By: Price | Brand

Thanks

30 May 2007, 8:53 PM
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: Changing Sort Drop Down To Text

Take a look at this file:

includes/templates/template_default/templates/tpl_modules_listing_display_order.php

It has all the HTML for generating that dropdown. Simply edit to your liking and save it in your own template.

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

12 Jun 2007, 8:20 PM
#3
cyberwoolf avatar

cyberwoolf

Zen Follower

Join Date:
Oct 2005
Posts:
97
Plugin Contributions:
0

Re: Changing Sort Drop Down To Text

But how do you make it text and not a drop down.

Because in the array the code is 'onselect' when you select the drop down. I cant get it to work with just a text link.