Search Module Layout Changes

  • Dave W
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 weeks ago #166985 by Dave W
Search Module Layout Changes was created by Dave W
We are hoping to customize the search module layout.
1. First field is a generic search field. Remove.
2. Move the Location field to the top.
3. Leave the From Date field.
4. Leave the To Date field.
5. Change the name above field "Category" field to "Camp Type".

I've attached an image to show the before and after. 
Thank you in advance.
Attachments:

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

More
6 months 3 weeks ago #166988 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Search Module Layout Changes
Hi Dave

You would need to modify code of the module to change the layout like that. I don't know exactly the layout you are using for search module, but you would have to change layout in one of the two files below:

- modules/mod_eb_search/tmpl/default.php
- modules/mod_eb_search/tmpl/horizontal.php

One the modification is done, you should move the modified file to template override templates/template_name/html/mod_eb_search so that the change won't be lost when you update to future releases of the extension

Regards,

Tuan

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

  • Dave W
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 weeks ago - 6 months 3 weeks ago #167008 by Dave W
Replied by Dave W on topic Search Module Layout Changes
Tuan

1. Your instructions worked like a charm.

2. The main configurations provide Theme > Misc > Show Search Bar. I have it on Yes, however I don't see it appearing on front end. I am making an assumption it would appear at top of our events. 
Should it be visible without using a module or is a module necessary for this feature? See screenshot.

Thank you.
Attachments:
Last edit: 6 months 3 weeks ago by Dave W.

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

More
6 months 3 weeks ago #167014 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Search Module Layout Changes
Hi Dave

Could you send me link to your events page so that I can take a look and give you the exactly answer?

Tuan

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

  • Dave W
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 weeks ago #167015 by Dave W
Replied by Dave W on topic Search Module Layout Changes
Tuan

Sent to you using the Contact link.

Thank you.

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

More
6 months 3 weeks ago #167016 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Search Module Layout Changes
Thanks Dave. Replied you !

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

  • Dave W
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 3 weeks ago #167017 by Dave W
Replied by Dave W on topic Search Module Layout Changes
Understand Tuan.

So many options. Appreciate your quick reply.

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

More
6 months 3 weeks ago #167018 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Search Module Layout Changes
You're welcome

Tuan

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