0
Answered

I would like to add a link to an article when displaying Helpdesk form

Pavel Sodomka 3 weeks ago in Usability & Interface • updated by Vladimir Mullagaliyev (co-founder) 3 weeks ago 1

We have an article https://ask.simplehw.eu/knowledge-bases/2/articles/19-how-to-report-any-obstacle-or-hurdle-and-open-a-ticket and I would like to add it either as URL or as text in the beginning of the Helpdesk reporting form. Thanks Pavel

Answered

Hello Pavel,

You can add some custom text via CustomJS.

Here is some examples https://feedback.userecho.com/en/knowledge-bases/10/articles/10530-custom-js-script-on-your-page-and-tricks-with-customization


Please take a look on to this one:

Here is an example how to add some text to the topic popup.

<script language="javascript">
initqueue.push(function(){
    $(window).on('uetopicpopuploaded', function () {
        $('#module_add_topic .modal-body').prepend('<div style="background-color: #ffdd99;padding:10px;margin-bottom:10px"><strong>Test message in the topic popup</div>');
    });
});
</script>

Feel free to contact us via Heldesk form if you need any help with that.