Hi -
I would like to setup an Answers experience for my Jobs portal without a Searchbar. Is that possible? How would I go about doing that?
Thanks!
Alyssa
Hi -
I would like to setup an Answers experience for my Jobs portal without a Searchbar. Is that possible? How would I go about doing that?
Thanks!
Alyssa
Hi Alyssa,
Update your config.json
to include a default initial search. More information on this can be found in this module, and here’s how you’d do it for a universal search page!
In your template.hbs file, comment out the {{> templates/vertical-standard/script/searchbar }}
and the {{> templates/vertical-standard/markup/searchbar }}
partials, as I’ve done here:
You should then see your experience load without a searchbar!
Depending on your UI, you might also consider getting rid of the navigation. To do this, comment out the two navigation partials, just like we did for the search bar.
The url will still update with your default initial search, and you’ll be able to apply filters etc. Note that this functionality won’t work with very early versions of the SDK (pre version 1.0.0).
Thanks,
Rose