How to add a Review Widget to your Joomla website
Introduction
In this article we will be taking a look at how to embed Trustmary's testimonials and surveys to a Joomla website. If you're looking for instructions on the same subject but for a different platform, check out our other articles in our Help documentation.
Getting the embed code
Start by navigating to the Widgets section in Trustmary. In there, select a widget or create a new one.
In the widget editor, click the Add to website button which opens up a window. From there, copy the code snippet with the Copy script button.
What to do with the code snippet?
For the widgets to work, you'll need to copy the code from Trustmary to your website, either directly to the source code, or through your website editor. The website editors usually have an element called code, HTML, embed or similar that can run the code.
For more information on embedding to different platforms, check out our help article collection on the topic.
Embedding the code in Joomla
Preparations
As the default editor in Joomla (TinyMCE) can remove parts of the embed code, the first thing that needs to be done is to change the editor from Joomla's settings. Let's start with clicking on System from the dashboard.
From the System Dashboard, go to Global Configuration under Setup.
From here, look for Default Editor under the Site tab. Click on the drop-down menu and select some other editor than TinyMCE. For the sake of this guide, we selected None from the drop-down.
After you've made the changes, just click Save & Close in the top of the page and you're automatically moved back to the Joomla dashboard.
Embedding the code
Now that everything is in order with Joomla and your embed code, you can start actually embedding it.
From Joomla's dashboard, find the Articles section and click the plus icon to add a new one. Naturally, the embed can be placed into existing articles too, which can be done by entering the articles section and just selecting the article you would like to edit.
Once in the editing view of an article, add a title and paste the embed code from before to the text box labeled Article Text. After the code is in its place, click on the Featured toggle from the toolbar on the right and finally Save near the top.
Now that you've got the code embedded, all that's left is to verify it works. This can be done with clicking either Preview or your site link from near the top of the page.
Updated on: 27/03/2025
Thank you!