Main menu

Adding Links to Reportico Reports within Pages and Articles

It is possible to create clickable links in your Joomla pages which show the output of reports within popup window ...

To do so you need to identify the URL you need to link to and then add that as normal to an article specifying whether or not to open the report in a new window.

The URL for a report normally requires you to point at the reportico component and specify the project, the report and execution mode as follows :-

 http://URL_TO_YOUR_JOOMLA_SITE/index.php?option=com_reportico&format=raw&new_reportico_window=1&printable_html=1&project=PROJECTNAME&xmlin=REPORTFILE.xml&execute_mode=EXECUTE

You need to specifiy the new_reportico_window and printable_html parameters for HTML output to ensure the format looks suitable for running in a new window.

Examples

Example 1. Run stock report in the northwind demo sales project

http://www.reportico.org/site/index.php?option=com_reportico&format=raw&new_reportico_window=1&printable_html=1&project=northwind&xmlin=stock.xml&execute_mode=EXECUTE

Example 2. Run the stock report but generate as a CSV ( use PDF for PDF output )

http://www.reportico.org/site/index.php?option=com_reportico&format=raw&project=northwind&xmlin=stock.xml&execute_mode=EXECUTE&target_format=CSV

Example 3. Run the stock report but specify parameter to the category criteria to show only Beverages and Produce

http://www.reportico.org/site/index.php/component/reportico/?format=raw&new_reportico_window=1&printable_html=1&project=northwind&xmlin=stock.xml&execute_mode=EXECUTE&MANUAL_category=Beverages,Produce

 

Example 4. Run the stock report but dont show the graphs

http://www.reportico.org/site/index.php/component/reportico/?format=raw&new_reportico_window=1&printable_html=1&project=northwind&xmlin=stock.xml&execute_mode=EXECUTE&target_show_graph=0

 

Example 5. Run the stock report but dont show the detail or headers but show the graphs

http://www.reportico.org/site/index.php/component/reportico/?format=raw&new_reportico_window=1&printable_html=1&project=northwind&xmlin=stock.xml&execute_mode=EXECUTE&target_show_column_headers=0&target_show_detail=0

 For more information on all the parameters you can pass within the URL see :-

http://www.reportico.org/site/components/com_reportico/doc/reportico/tutorial_reportico.appendix2.pkg.html