SEARCH SITE BAR

Hello, i want to know how to crate a search bar that can search whole website using code? Thanks.

2 Likes

Hi Araiki,
Can you please tell details ? What exactly do you wish the search bar to find (Items in database collections, images, words etc) ?
Roi

Thanks Roi for replay i want to search everything on my site i want to remove all search app on my site because make it my site to load heavy i want to create a search bar of my site using code when possible thanks.

Thanks Roi for replay i want to search everything on my site i want to remove all search app on my site because make it my site to load heavy i want to create a search bar of my site using code when possible thanks.

Iā€™m also interested !

Hello to everyone,
This video tutorial is excellent for creating a search bar for database collection.
Feel free to paste your code here to consult.
Roi

sorry i donā€™t understand any thing here i need more helps on this!! when i watch the video there code needed to write on that step is very had for me i need help iā€™m already add a search bar but not function i need help https://araiki.wixsite.com/mzeebaba

Hi Araiki,
Unfortunately we are not able to code your Wix site on your behalf.
You can hire an expert in Wix Arena .
The other option is start coding :slight_smile:
You are welcome to paste your code here and weā€™ll do our best to assist you.
Roi

Sorry, where to copy my CODE help!!

which code to copy Mr Roi help me

Hi Roy, I already saw the video, I already implemented a search bar / dropdown menu on some of my list pages.
However what I need now, is a search bar in the header, that would search many collections, and display them on a ā€œsearchā€ page, just like any website would do.

Also, I canā€™t seem to fix the flickering as shown in the video

EDIT : no need to fix that flickering issue anymore, I inserted a code that searches after the user presses ā€˜Enterā€™

Hi Tristan,
for now, itā€™s not possible to search more than one database. So itā€™s not possible to search all your content by code unless you will use search bar from Wix App Market.

Jakub

Okay thank you.
Maybe thereā€™s a way to bypass the problem by adding a radio button (search in X collection) and display results found on a result page ?

Hi Araiki ,
You can paste here in the thread the code you want to get help with.
Roi

Hi Tristan,
maybe but just maybeā€¦ check Reference Fields and try to play with it a little bit:

Best luck,
Jakub

Hi,

Iā€™m not sure I understand how thatā€™d work !

I guess there is no solution at the moment.

Old post from 2018 appearing, closed.