Company Directory - sort by a custom field?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Company Directory - sort by a custom field?

Post by liquid »

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!
skypanther

Re: Company Directory - sort by a custom field?

Post by skypanther »

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
Post Reply

Return to “Modules/Add-Ons”