Sitesearch embedded JavaScript - custom rendering of result page

Is it possible to add to the following code a defaultPostRenderFunction
like in the JQuery-module?

<script type='text/javascript'>
            install: {
                        hooks: {
                            query_filter: function(query) {
                                    'page', 'domain-identifier', { values: '%s' }
                                     return query;

Thanks in advance

Unfortunately not, sorry - the default st.js install code is separate from our jQuery module and does not take a renderFunction option.

If you're using the st.js embed, you can customize the appearance in the Site Search dashboard:

If you want very custom rendered output, you should instead switch to using the jQuery library.

Hope that helped!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.