• Resolved rdanesi

    (@rdanesi)


    I have an issue with the search in page only: for some reason, i have to click on the search button or press enter four times to actually see the page move to the object of the research.
    The weird thing is that it requires ALWAYS four clicks, no matter the subject of the research, the first threee times it just highlights the subject, but the page doesn’t actually move to bring the point of interest on the center of the screen.
    The code that i applied is the following:
    [search-in-place-form in_current_page=”1″ no_popup=”1″ display_button=”1″]
    I don’t want any livesearch results so i disabled the popup.
    Does anybody have any guessing to why this happens? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @rdanesi

    If you must press the button four times to jump the visual term, the term appears in your page’s content at least three times, but in a hidden way. So, if you want to jump only between the visual terms, you must use the “exclude_hidden_terms” attribute in the shortcode, as follows:

    [search-in-place-form in_current_page="1" no_popup="1" display_button="1" exclude_hidden_terms="1"]

    Best regards.

    Thread Starter rdanesi

    (@rdanesi)

    I pasted the code, and now it works better, but still needs two clicks…i have to specify that these terms appear only one time on the entire page, are product codes used as titles for toggles that if clicked open a popup to download all the documentation about that specific product.

    • This reply was modified 3 years, 6 months ago by rdanesi.
    Plugin Author codepeople

    (@codepeople)

    Hello @rdanesi

    Please, send me the link to your page, and indicate the term you are testing.

    Best regards.

    Thread Starter rdanesi

    (@rdanesi)

    The page is on a staging site, so is not reachable without the login credentials to the backend.

    Thread Starter rdanesi

    (@rdanesi)

    I think i understood the problem: the first click is relative to the dropdown menù voice that reports the same visual term: there is a way to block the search in the menù?

    Plugin Author codepeople

    (@codepeople)

    Hello @rdanesi

    Yes, that’s possible. You should enter the selector where searching through the “Search in page selectors” attribute in the settings page of the plugin:

    https://searchinplace.dwbooster.com/documentation#terms-suggestion

    For example, if the main content of your page is an <article> tag, should enter article into the “Search in page selectors” attribute in the settings page of the plugin, or if the content is inside a div tag with the class content, you should enter .content

    Best regards.

    Thread Starter rdanesi

    (@rdanesi)

    Thanks! Amazing support ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Multiple clicks to move to inpage result’ is closed to new replies.