Include/create hyperlinks from a report query

By MickC - September 16, 2011

I have just bought and installed the Report Builder plug in.

What i want to, is have the report contain a hyperlink to edit the record.

I made a report on out "listings" table, and it shows all records where "approved=No" - this works well.

What i need, is to make a hyperlink out of the results so the editor can click it to go directly to the edit page of that record.

If I could access the php page that the report is on, i could code it in, but I can't seem to find where that page is.
When the report is in the browser, it shows the URL as ..cmsAdmin/admin.php?_pluginName=reportBuilder&_report=4

Re: [MickC] Include/create hyperlinks from a report query

By Jason - September 16, 2011

Hi,

If you go into the plugins folder for report builder and open reportBuilder.php, the HTML that displays the actual report is created in a function called _reportBuilder_displayReport().

It is important to note that unless you put in some conditional statements, any changes you make here will display in ALL reports you create.

Hope this helps get you started.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [MickC] Include/create hyperlinks from a report query

By Jason - September 19, 2011

Hi,

Are all of your reports going to be coming from the same section? If not, the trick here will be to get the tableName that this report is being run from.

If you'd like us to customize this plugin to do this for you, please email consulting@interactivetools.com to go over some options.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/