In the tips section of our help-desk, we aim to source and inform you about useful services and widgets that you can add to your site for free!
The nature of these services usually means that there's no software to download or host anywhere – it's all provided by the services themselves. Instead, they will provide you with a snippet of code that you can add to your site.
Sometimes, it can be tricky to work out where to put the code, depending on the type of service you're trying to add to your site, so the following examples should help you in deciding how to place the code.
The service provides your site with a toolbar that you wish to display on every page.
“The provider of **this product** says that I must put the code in the header of my site. Where can I do this in the Admin Centre?”
In the Ads & Custom HTML section. Any code that you place in this section will appear on every page of the site. The main boxes on this page are the Head data (which will place code between the head tags of your site), Body data (which will place the code just after the opening body tag) and the Footer data (which will place the code just before the closing body tag).
The service provides your site with a widget which can be placed on a page on your site.
“I have a snippet of HTML that will let me embed the widget from **this product**, but where do I put the code?”
In a Custom HTML widget in your Layout Manager. Choose or create a page in your Layout Manager where you would like to place the widget and drag a Custom HTML widget into the Layout Manager. Double click on the Custom HTML widget that you have just placed and paste the code into the 'source code' view of the widget. Save it, and voila, the widget will now appear on your website.
The service doesn't provide any code for you to embed, such as a shopping cart service.
“How do I display **this product** on my site if they don't provide any sort of code to embed it with?”
Load the service's page in an iFrame widget in the Layout Manager. Using an iFrame, you can display the contents of any site within the layout of your own site. Bear in mind that while iFrames work most of the time, some services may prevent you from embedding their site in an iFrame. Unfortunately in this case, there's nothing that can be done. However, when in doubt – experiment!