×

Error message

  • Warning: array_merge(): Argument #2 is not an array in superfish_block_view() (line 924 of /var/www/rhizome/data/www/developers.contentglass.com/drupal/sites/all/modules/superfish/superfish.module).
  • Warning: array_merge(): Argument #1 is not an array in superfish_block_view() (line 1035 of /var/www/rhizome/data/www/developers.contentglass.com/drupal/sites/all/modules/superfish/superfish.module).

Website Installation

To install CG-Button in your site, put the next code piece in the head section.

    
        <script>
window.cgAsyncReady = function () {
CGAPI.loadApp({container: "#content-glass-button-wrapper", type: "button", draggable: true});
};
</script>
<script type="text/javascript" async id="cg-api" src="//api.contentglass.com/server_api/s1/application/load/cg_api?app_id=5409596055731"></script>

Put the next code piece in the body section where the button need to be rendered.


    <div id="content-glass-button-wrapper"/>