Hi, i'm using ExpressionEngine which based on Codeigniter,
I created a plug-in in ExpressionEngine and try to use KendoUI PHP Wrapper in the plug-in.
I have include autoload.php:
require_once PATH_THIRD.'kendoui/lib/Kendo/Autoload.php';
and I try to use Menu.php:
function kendoui_index(){
// Create a new instance of Menu and specify its id
$menu = new lib\Kendo\UI\Menu('Menu');
// Configure it
$menu->closeOnClick(true)
// Output it
return $menu->render();
}
it shows nothing in output, the relative class path of Menu need to be change if the lib folder is not at the root directory?
or if it is not use in the root directory, how should it change?
thanks.
I created a plug-in in ExpressionEngine and try to use KendoUI PHP Wrapper in the plug-in.
I have include autoload.php:
require_once PATH_THIRD.'kendoui/lib/Kendo/Autoload.php';
and I try to use Menu.php:
function kendoui_index(){
// Create a new instance of Menu and specify its id
$menu = new lib\Kendo\UI\Menu('Menu');
// Configure it
$menu->closeOnClick(true)
// Output it
return $menu->render();
}
it shows nothing in output, the relative class path of Menu need to be change if the lib folder is not at the root directory?
or if it is not use in the root directory, how should it change?
thanks.