Sorting By Custom Fields
Sorting By Custom Fields
By Paul
09/10/07 (Edited 03/11/14)
If you want to add an option to sort by a custom field as well as the regular ones, just add the option to the selector in the template before the </select>:
<option value="fieldname">field description</option>. If it's a topic field, this will be in Admin Panel -> Themes -> Manage Templates -> Sort Topics.
If your field is named blah, this would become <option value="blah">blah</option>
By Paul
09/10/07 (Edited 03/11/14)
<option value="fieldname">field description</option>. If it's a topic field, this will be in Admin Panel -> Themes -> Manage Templates -> Sort Topics.
If your field is named blah, this would become <option value="blah">blah</option>
Description | Allowing topics/forums/posts to be sorted by custom fiels. |
Rating | |
Views | 588 views. Averaging 0 views per day. |
Similar Topics |