Editing a Dashboard Template in the Designer
Our sample projects and report templates can help you learn the basics of working with our products.The Dashboards.PHP designer runs in the browser, served by the PHP SDK — create a
Build the designer, load the dashboard.
How it works. The designer runs client-side while PHP serves the page and handles its callbacks, so users edit dashboards without a desktop app.
StiDesigner, load a dashboard, and print the page.Build the designer, load the dashboard.
$designer = new StiDesigner();
$designer->javascript->relativePath = '../';
$designer->process();
$report = new StiReport();
$report->loadFile('../reports/Christmas.mrt');
$designer->report = $report;
$designer->printHtml();StiDesigner()— the designer component;process/printHtmlwork exactly as for the viewer.$designer->report = $report— the dashboard the user will edit in the browser.
How it works. The designer runs client-side while PHP serves the page and handles its callbacks, so users edit dashboards without a desktop app.