Hello Everyone,
I am trying to use reportico to create reports but I've two issues:
1- I am using Links Nav to add links to these reports but since I've the Appgini Tabs I am not able to know how to change in which menu they go. So I need to insert reports in each Nav menu and dont know how to direct the reports to the specified menu
2- Not sure which bootstrap version we use as its required in these reports, I've tried 3,2,1 and null and the reports seems not justified, also if I am using the project menu or need to go back in any report I am having the attached error.
Thanks in advance,
SS
Reportico Reporting
-
- Posts: 19
- Joined: 2016-04-28 09:52
Reportico Reporting
- Attachments
-
- Error.png (50.97 KiB) Viewed 6225 times
Re: Reportico Reporting
Not understand. Where are you trying to "insert" reportico, on a custom page?
Here you have a sample of how to integrate a reportico report inside a custom page
Here you have a sample of how to integrate a reportico report inside a custom page
Code: Select all
<?php
$currDir = dirname(__FILE__);
include("$currDir/defaultLang.php");
include("$currDir/language.php");
include("$currDir/lib.php");
include_once("$currDir/header.php");
/* grant access to all logged users */
$mi = getMemberInfo();
if(!$mi['username'] || $mi['username'] == 'guest'){
echo "Access denied";
exit;
}
define('__ROOT__', dirname(dirname(__FILE__)));
require_once(__ROOT__.'/src/lib/reportico/reportico.php');
$q = new reportico();
$q->initial_project = "tutorials";
//$q->initial_project_password = "password";
$q->initial_report = "tut1_4_stock.xml";
$q->initial_execute_mode = "EXECUTE";
$q->initial_output_format = "HTML";
$q->access_mode = "REPORTOUTPUT";
$q->bootstrap_styles = "3";
$q->bootstrap_preloaded = true;
$q->clear_reportico_session = true;
$q->bootstrap_included = true;
$q->dynamic_grids = false;
$q->dynamic_grids_sortable = true;
$q->dynamic_grids_searchable = true;
$q->dynamic_grids_paging = true;
$q->dynamic_grids_page_size = 10;
$q->reportico_ajax_mode = true;
$q->embedded_report = true;
$q->output_template_parameters["show_hide_navigation_menu"] = "hide";
$q->execute();
include_once("$currDir/footer.php");
?>
/Giuseppe
Professional Outsourcing Services
Professional Outsourcing Services
-
- Posts: 19
- Joined: 2016-04-28 09:52
Re: Reportico Reporting
Thanks for the reply, This is how I added into the links page
See the attached image, I hope its clear now
See the attached image, I hope its clear now
- Attachments
-
- Error2.png (67.61 KiB) Viewed 6218 times
Re: Reportico Reporting
But this menu you are pointing is AppGini menu or Reportico Project menu?
/Giuseppe
Professional Outsourcing Services
Professional Outsourcing Services
-
- Posts: 19
- Joined: 2016-04-28 09:52
Re: Reportico Reporting
These are AppgGini menus. I dont see an option in the NAV links to decide to which menu they go and its critical to place each report on its related menu. Same as If I want to define single menu to contain all reports.
Re: Reportico Reporting
See this item for menus and and NAV links
http://forums.appgini.com/phpbb/viewtop ... menu#p5651
at the end is the solution for your problem.
http://forums.appgini.com/phpbb/viewtop ... menu#p5651
at the end is the solution for your problem.
Bert
I am using Appgini 5.75
I am using Appgini 5.75
Re: Reportico Reporting
Added to what BertV wrote. Just create a custom-page with the code I pasted before. Change the params as you need, and add the link as BertV explains in your menu, pointing to your custom-page. Now you have a reportico report integrated into your AppGini project.
/Giuseppe
Professional Outsourcing Services
Professional Outsourcing Services