PDA

View Full Version : search form in new page



Ahmed Emad
February 17, 2024, 07:20 PM
Hello
I create new page from admin dashboard
i assian Content Boxe "Box type smarty" to this page and i {include file to search form
:wacko::wacko: The search didn't appear
Any advice

Ahmed Emad
February 18, 2024, 06:52 PM
@rudi kindly advice

Rudi
February 19, 2024, 04:51 AM
Hello,

Unfortunately, I don't understand your message

What does "assian" mean? What "search form" do you include?

Ahmed Emad
February 19, 2024, 10:12 AM
Hello Rudi
i mean
i want create new page with search for motors or cars only without listings

Rudi
February 19, 2024, 12:23 PM
You also need to create a controller in includes/controllers and templates/.../tpl/controllers

Ahmed Emad
February 20, 2024, 12:01 PM
Thanks
I did but in this new page show all search tabs for all listings type
i want search box for 1 category only
thanks

Rudi
February 20, 2024, 12:24 PM
You should create new controllers and write a special php code for your case. You can use the existing logic from includes/classes/rlSearch.inc.php > public function buildSearch

or it will require a customization