Add HTML on a Page

Prev Next

The Custom HTML widget has a wide range of uses. Municipal Websites Central is a powerful platform that gives you the ability to consume its API or integrate your own web services. This functionality allows our web solution to be used for many different needs. A few examples that our customers have integrated with our website are Property Tax Calculators, Inmate Lookup Tools, Parcel Searches, and many custom web service integrations. The most popular are:

Many applications offer an API, which allows other applications to interact with their system. A Municipal Websites Central site can also interact with almost any API available using a Custom HTML Widget. API can also receive data from Municipal Websites Central. To do this, you will post a request to an endpoint that contains data in a format the API is expecting.

Important Notes

  • If you need assistance or have questions, please contact CivicPlus Support. However, if the Custom HTML script has been provided by a party other than CivicPlus, Support will only be able to assess the interaction of the code with the CMS. Support is unable to troubleshoot third-party code beyond basic analysis.

  • In the event that Custom HTML code conflicts with a page, you may need to Disable Custom HTML Rendering to access editing options.

  • Some links or content may not operate via iFrame based on browser or security policies. Please view our article Embed Videos on a Page for further troubleshooting options.

  • The Custom HTML Widget will only accept URL that have a valid SSL Certificate. (HTTPS://)

Disclaimer

Not all code is compatible with the CivicPlus Content Management System. Conflicts between an added script and our base system code can cause pages to break. This can include widgets not behaving as expected, editing functions becoming disabled, or a complete lack of access to the page. Due to these potential errors, it is recommended that Custom HTML be tested on copied pages prior to being added to a live page or the full site. Future releases may impact compatibility, which may cause previously working code to fail.


Instructions

Who can use this feature?

System Administrator | Owner | Publisher  

  1. Sign in to your site

  2. Navigate to your desired page and ensure Live Edit Is On:

  3. Select Widgets from the tab menu:The Live Edit pane with the Widgets tab highlighted.

  4. Drag and drop the Custom HTML widget onto the page where you would like your item to show:A Custom HTML widget being drag-and-dropped onto a page.

  5. Paste your custom code into the widget:The Custom HTML widget with the field for entering code highlighted.

  6. Select Done:

  7. Click Save The Save button in the top right corner of the page.

    Note:

    You may not be able to see the product of your code in Live Edit. You may have to turn live edit off before being able to see what a user will see.