Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
embedding_reportico [2018/12/31 14:48] admin [Embedding a report within a web page] |
embedding_reportico [2018/12/31 14:50] (current) admin [Embedding a report within a web page] |
||
---|---|---|---|
Line 23: | Line 23: | ||
$reportico_home = "/{path_on_disk_to_reportico}/"; // SET THIS! | $reportico_home = "/{path_on_disk_to_reportico}/"; // SET THIS! | ||
$reportico_url_home = "http://{url_path_to_reportico}"; // SET THIS! | $reportico_url_home = "http://{url_path_to_reportico}"; // SET THIS! | ||
- | | ||
| | ||
$q = new Reportico\Engine\Reportico(); | $q = new Reportico\Engine\Reportico(); | ||
Line 31: | Line 30: | ||
// Set the theme, project and report to run | // Set the theme, project and report to run | ||
- | $q->setTheme('default'); $q->access_mode= "ONEREPORT"; | + | $q->setTheme('default'); |
- | $q->initial_execute_mode= "EXECUTE"; | + | $q->access_mode= "ONEREPORT"; |
- | $q->initial_project = "tutorials"; | + | $q->initial_execute_mode= "EXECUTE"; |
- | $q->initial_report = "stock"; | + | $q->initial_project = "tutorials"; |
+ | $q->initial_report= "stock"; | ||
$q->initial_output_format = "HTML"; | $q->initial_output_format = "HTML"; | ||
$q->execute(); | $q->execute(); |