Help Desk Software

Back to > HESK Knowledgebase > Knowledgebase

Search help:

How do I allow Iframes in Knowledgebase articles?


This guide has been written for HESK version 2.7.3.


By default, HTMLPurifier, used by HESK to sanitize HTML code, will strip out any iframe code. This guide will show you how to enable full support for iframes, if you want to use them in Knowledgebase articles and Service messages.



Unrestricted use of iframes can be a potential security issue. Use at your own risk and only if you 100% trust anyone with access to your help desk staff control panel.


That said, here are the steps:


  1. Backup your existing HESK files

  2. Download and install this powerful free text editor: Notepad++ .

  3. Open file inc/htmlpurifier/custom/heskIframe.php in Notepad++

  4. Inside find this exact code:
    return '';

  5. Replace it with:
    return '<iframe ' . $matches[1] . '></iframe>';

  6. Save the file and upload it to the server (overwrite the original one)

  7. Login into HESK administration

  8. Test the changes by adding a Knowledgebase article with an iframe
Was this article helpful? yes / no
Related articles How do I customize HESK text?
Knowledgebase search isn't working.
How do I customize HESK look?
How to disable "Submit" button and multiple submissions?
Troubleshooting email piping
Article details
Article ID: 92
Category: How do I...
Rating (Votes): Article rated 5.0/5.0 (2)

« Go back

Powered by Help Desk Software HESK, brought to you by SysAid

Help Desk Software