Hi, I have Algolia running on a Zendesk Help Center, and while it seems to be working well for external users, the lack of internal article indexing breaks it for other types of users (like internal agents, or customers who have access to restricted content)
It looks like algolia.js is imported in head, and then algoliasearchZendeskHC() is called with our custom parameters to actually enable it. My plan was to remove this second call from the doc head, and only call it only once I’ve been able to determine the user should see the enhanced Algolia search.
My problem is, no matter how I manually call the algoliasearchZendeskHC function, it hides the search box altogether instead of enabling Algolia. I’ve tried calling the function on doc ready, or even from the JS console, but still have not gotten this to work.
Is there a reliable way to manually ‘enable’ Algolia after the .css and .js have been loaded in the doc head? [edit: manually ‘disabling’ Algolia after it’s loaded would work just as well for this situation]