KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Dashboard: Open a dashboard from Custom Board #2306

Closed Andre Van Der Walt opened this topic on on Aug 27, 2021 - 2 comments

Andre Van Der Walt commented on Aug 27, 2021

Hi,

The below code was working prior upgrading to 5.7.0 and 2.0.0 (dashboard). Now getting following error when trying to open a board from a CustomBoard: Call to undefined method koolreport\dashboard\Response::nextHandler()

Please assist.

// HomeBoard.php
class HomeBoard extends CustomBoard
{

}

// HomeBoard.view.php

...
<a target='_self' onclick="navMove(this)" href="#ExampleBoard">
                <button>Example Board</button>
            </a>

Please provide example for point 39 in https://www.koolreport.com/docs/dashboard/change_log/#version-2.0.0:

  1. Added: Ability to navigate to a dashboard by url
KoolReport commented on Aug 27, 2021

You do this instead

<a class="btn btn-primary" href="javascript: loadDashboard('ExampleBoard')">Example Board</a>

Let me know if it works.

Andre Van Der Walt commented on Aug 27, 2021

100% Thank you!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

Dashboard