Help me Hack the mod_eb_search

  • mistergreen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #10534 by mistergreen
Help me Hack the mod_eb_search was created by mistergreen
Hi,
I need to do a cross reference search of multiple categories.
It'll be something like.

drop down: Age
list: 20-30, 30-40, 40-50
Marriage:
list: yes, no
Child care:
list: yes, no

The user would make there selections and then search will bring up the appropriate event.

I'm looking at mod_eb_search.php and I think I can figure out how to lay out the drop down menus.
Now I can't figure out when the user hit search, where the dropdown value go?

I'm pretty good with sql statements so that's easy. I just need to know where to go.

Thanks.
Last edit: 13 years 9 months ago by mistergreen.

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #10544 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Help me Hack the mod_eb_search
Hi

When users press search button, the search view will be called to display search result. The code which is used to get the data to displayed is located at components/com_eventbooking/models/search.php , looks _buildContentWhere function to add any necessary sql code to where clause !

Hope this help !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • mistergreen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago - 13 years 9 months ago #10557 by mistergreen
Replied by mistergreen on topic Re: Help me Hack the mod_eb_search
Thanks,
Everything is working great.

You should add this feature on your next eventbook version. It helps in finding one event in large amounts of events.
Last edit: 13 years 9 months ago by mistergreen.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc