CompanyDirectory - Searching Custom Fields

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
lewishowles
Forum Members
Forum Members
Posts: 52
Joined: Tue Oct 25, 2011 4:45 pm

CompanyDirectory - Searching Custom Fields

Post by lewishowles »

I'm on CMSMS 1.10.3, and Company Directory 1.13.1.

I'm building a site where the customer wants to list charitable organisations (basically companies), a bit of info about them, and then which areas they cover (regions of the local area), plus what type of organisation they are.

So I've used Company Directory. The 'type of organisation' is Category, and the list of areas they cover are checkboxes in field definitions, ticked if yes and unticked if no.

They want both the type (category) and this list of locations to be searchable, but I can't figure out how to do it. I know there are text boxes that let you search in the address or the post code, but these organisations don't have a single address, they might cover 10 different areas, so I need to be able to select, for example, 'Community and Fundraising Organisations', and 'Bacup/Weir', and list those with that category, and that location ticked.

I'm sure I read somewhere, once, a few lines about what type of field definition was searchable but I can't find it anywhere now.

Is there a way to do it, or is there a better way to do this entirely?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CompanyDirectory - Searching Custom Fields

Post by calguy1000 »

I'm assuming you're talking about {CompanyDirectory action=search} ??

That action allows you to build a checkbox group or a multi-select or a dropdow of categories to filter on one or more categories.

However it does not allow searching by custom fields yet.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
lewishowles
Forum Members
Forum Members
Posts: 52
Joined: Tue Oct 25, 2011 4:45 pm

Re: CompanyDirectory - Searching Custom Fields

Post by lewishowles »

Yeah sorry I mean the search action.

I've got the category dropdowns but I worried that you couldn't search the custom fields. Thanks anyway.

Does anyone know of another module that will allow me to do this?
yumein
Forum Members
Forum Members
Posts: 12
Joined: Thu Apr 26, 2012 9:36 am

Re: CompanyDirectory - Searching Custom Fields

Post by yumein »

First of all It is {CompanyDirectory action="search"}

Yes I'm sure you can do this with a forach from in your "Search Form" template
Post Reply

Return to “Modules/Add-Ons”