- Posts: 4
- Thank you received: 0
Is there a way to change the layout of the advanced search? I have 10 fields and if I activate the "Advanced Search" option in the backend, all ten fields are listed vertically. I would like to be able to layout the search fields horizontally in two rows of five. How can I achieve this?
Please Log in or Create an account to join the conversation.
Hi,
currently there is no other way than to modify the php code. The search form is generated in function searchForm in file /components/com_grid/GridBuilder.php
Please Log in or Create an account to join the conversation.
Hi
any more exact place and code how to get search fields in horizontal layout?
Please Log in or Create an account to join the conversation.
The place is the function called searchForm in the file /components/com_grid/GridBuilder.php. You will find the function towards the end of the file. In this function the html output for the search form is generated. You have to rearange it according to your wishes.
Regards
Please Log in or Create an account to join the conversation.