As with the viewer, the designer's scripts and body can be emitted separately to fit your own HTML layout.

Designer setup. Configure the designer, load the report template, process its callbacks, and connect the save action to the application.
<head>
    <?php $designer->javascript->renderHtml(); ?>
</head>
<body>
    <?php $designer->renderHtml(); ?>
</body>


javascript->renderHtml() outputs the scripts for the head, and renderHtml() outputs the designer element for the body, so the designer integrates into any page structure.