• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CompanyDirectory - Searching Custom Fields
PostPosted: Mon May 21, 2012 4:06 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 25, 2011 4:45 pm
Posts: 39
Location: Lancashire, UK
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?


Top
 Profile  
 
 Post subject: Re: CompanyDirectory - Searching Custom Fields
PostPosted: Mon May 21, 2012 4:40 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6576
Location: Fernie British Columbia, Canada
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
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: CompanyDirectory - Searching Custom Fields
PostPosted: Tue May 22, 2012 8:13 am 
Offline
Forum Members
Forum Members

Joined: Tue Oct 25, 2011 4:45 pm
Posts: 39
Location: Lancashire, UK
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?


Top
 Profile  
 
 Post subject: Re: CompanyDirectory - Searching Custom Fields
PostPosted: Mon May 28, 2012 8:28 am 
Offline
Forum Members
Forum Members

Joined: Thu Apr 26, 2012 9:36 am
Posts: 12
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting