<< Back to embedding reports

Embed Reportico in Admin Mode

This is the full Reportico tool emdedded into a site page. In this mode the admin page is visible and the report designer can create reports and run reports.

        $reportico = \Yii::$app->getModule('reportico');
        $engine = $reportico->getReporticoEngine();        // Fetches reportico engine
        $engine->access_mode = "FULL";                     // Allows access to all Reportico pages
        $engine->initial_execute_mode = "ADMIN";           // Starts user in administration page
        $engine->initial_project = "admin";                // Required for access to admin mode
        $engine->bootstrap_styles = "3";                   // Set to "3" for bootstrap v3, "2" for V2 or false for no bootstrap
        $engine->force_reportico_mini_maintains = true;    // Often required
        $engine->bootstrap_preloaded = true;               // true if you dont need Reportico to load its own bootstrap
        $engine->clear_reportico_session = true;           // Normally required
        $engine->execute();                                // Run Reportico

Reportico Administration Page

 
 
Run Project Report Suite: