Adding Hebrew-English search

Need hands-on help adding English & Hebrew sitewide search function

Hi @Moshe,

If you use the Stacks plugin, you can install Live Search ($30, OneLittleDesigner). It will allow your visitors to search for any string of text on your website, regardless of language.

If you don’t use the Stacks plugin, your options are limited to including something like Google Programmable Search in your website. Click that link to learn more on what that is, and how you implement it.

Cheers,
Erwin

Hi Erwin

Many thanks for the suggestion. I’m really tech-dumb when it comes to figuring out how to install something like Live Search. Will it come with clear and complete instructions on how to add it to one of my pages? I’m particularly concerned because I put the site together using very different page-type options, none of which I understand. Some of them, for example, use a “frame” (don’t know the technical name) and I’m not sure how or where the Live Search plug-in (?) would be added. What do you think?

Moshe

Hi @Moshe,

Live Search requires the Stacks plugin, and only works on the Stacks page type (which you won’t see in RapidWeaver unless you own the Stacks plugin).

So, first things first, if you click on the “Add” button in your project, do you see the option to add a Stacks page?

If not, then you won’t be able to use Live Search.

If you DO see the option to add a Stacks page, then you CAN use Live Search. Installing Live Search isn’t very hard - you’ll get a file after you buy it, and double click on it. RapidWeaver will then launch, and ask you if you’re sure you want to instal Live Search. You then follow the steps on screen, and it’s done.

Cheers,
Erwin

Much appreciate your taking the time to give me some direction — which I’m beginning to think I can do. Turns out I do have stacks.

Hi @Moshe,

No worries!

Here’s a few tips on how best to use Live Stacks in a setting with multiple page types:

  1. Install Live Search 2 using the instructions included

  2. Create a new Stacks pagetype page in your project

  3. Enter “search” as the folder name here (why this is, will become clear later), and make sure the filename is “index.php”:

  4. Enter “Search” as the page title too (so that the page will appear as “Search” in your site’s menu):

  5. Drag the Live Search 2 from your Stacks library to the newly created page

  6. Go to the Live Search 2 settings tab (by clicking on the Live Search 2 stack on the page where you just dragged it to, then press and hold OPTION+COMMAND+6

  7. Change whatever settings you want to change

  8. Save and publish your page

  9. If you go to your published website, and choose “Search” from the menu, you’ll see the page with Live Search 2’s search box. Search for any word or sentence, and Live Search will show you on which pages those words or that sentence were used.

Case:
On http://netstek.eu you’ll find a menu with three pages: HOME, PRODUCTS and SEARCH

HOME and PRODUCTS are Styled Text page type pages and are filled with gibberish, but I’ve hidden two words in that gibberish (the first word is “SINAASAPPEL”, the other word is “BANAAN”). The third page, “Search”, is a Stacks page type and only contains the Live Search 2 stack. If you enter “Banaan” there, it will only show the HOME page as a search result, highlighting the bit of text where the word appears.

If you try the same with “Sinaasappel”, the PRODUCTS page will show as the only search result.

I also hid two words in Hebrew writing on those pages (חולצת כדורגל and חפיסת שוקולד), which the Live Search also finds.

So why make sure the folder name is “search”?
That’s because it makes it easier for people to find your search page. By naming the folder “search”, the address for that page becomes yourwebsite.tld/search. For example, the website I built for the case above, has the search page at Search.

Cheers,
Erwin

I’m overwhelmed by your kindness.