FAQ - HTML Snippet

HTML Snippet

<< Back to FAQ

 

Can I use the HTML Snippet for integrating a PayPal button or Shopping Cart?

Yes. You can easily integrate PayPal merchant tools with your Mosaic Site Creator website by using the HTML snippet.

See also

PayPal Integration tutorial

Can I use Mosaic Site Creator for selling products online?

 

Can I install scripts on the Mosaic Site Creator server using the HTML Snippet?

No, you cannot install any back-end scripting on Mosaic Site Creator's servers. The HTML Snippet can only help you integrate a piece of HTML or JavaScript code in the content area on any page of your site.

 

My site has stopped functioning properly after I inserted an HTML Snippet.

Faulty code placed in the HTML Snippet may result in

  • Java Script errors on the page
  • inability to load all page elements
  • missing Control Panel icon and Publish option
  • even problems logging into the Admin view of your website

If you can access the Admin view and the editing functions are properly working, try commenting the code in the HTML snippet(s). When commented, the script is not active and any possible errors or problems caused by it should stop. To comment the code in an HTML snippet you will need to place it between the beginning tag <!-- and the ending --> tag as follows: <!-- YOUR CODE -->.

Once the problem is identified as caused by the code in a particular snippet you can further debug or remove it. 

If you can't access the Admin view of your site due to severe problems caused by code inserted in an HTML Snippet, please contact us for further assistance.

 

What should be the structure of the HTML code inserted in the HTML Snippet?

Assuming the typical HTML code structure is

<html>

   <head> (head) </head>

   <body> (body) </body>

</html>

the code inserted in the HTML snippet should contain only the (body) part.

See also

HTML Snippet tutorial