In my report.view.php file, the beginning looks like this, and i have also tried jQuery vs Bootstrap to no avail.
If i try to implement any basic jquery reference($) i get a console error saying:
Uncaught ReferenceError: $ is not defined
at (index):8
HERE is the section in question in my Report.view.php file.
<?php
use \koolreport\clients\Bootstrap;
use \koolreport\widgets\koolphp\Card;
?>
<html>
<head>
<script type="text/javascript" >
$("#cards20").draggable();
</script>
</head>
<link rel="stylesheet" type="text/css" href="/reports/reports.css">
<body style="margin:0.1in 0.1in 0.1in 0.1in">
</body>
</html>
HERE is my Report.php file.
<?php
require_once $_SERVER['DOCUMENT_ROOT']."/koolreport/core/autoload.php";
require_once $_SERVER['DOCUMENT_ROOT']."/reports/connect.php";
require_once $_SERVER['DOCUMENT_ROOT']."/reports/tagAddresses.php";
GLOBAL $config;
class Report extends \koolreport\KoolReport
{
use \koolreport\amazing\Theme;
use \koolreport\clients\Bootstrap;
public function settings()
{
GLOBAL $config;
return array(
"dataSources"=>array(
"accutrack"=>array(
"connectionString"=>"mysql:host=".$config["dbhost"].";dbname=".$config["dbname"],
"username"=>$config["dbuser"],
"password"=>$config["dbpw"],
"charset"=>$config["charset"]
)
)
);
}
}
?>