I'm using the Company Directory module and have a custom field that I'd like to sort the output in the summary template by - any suggestions on how to implement that?
Thanks!
Company Directory - sort by a custom field?
Re: Company Directory - sort by a custom field?
AFAIK, sorting is done in the code behind the scenes and is not controllable through anything in the output templates. Also, custom fields are stored in a separate table from the default fields. So, you'll have to modify the query to both select the custom field and to sort by it. I think the code you'll need to modify is in the action.default.php file.
Tim
Tim