Code
<?php
Loader::requireOnce('system/pnForm/plugins/function.pnformcheckboxlist.php');
/**
* Description of functionquickcheckboxlist
*
* @author paustian
*/
class quickCheckBoxlist extends pnFormCheckboxList {
function render(&$render){
$ret_text = parent::render($render);
$ret_text = "<p>a test of this</p>" . $ret_text;
return $ret_text;
}
}
?>
Loader::requireOnce('system/pnForm/plugins/function.pnformcheckboxlist.php');
/**
* Description of functionquickcheckboxlist
*
* @author paustian
*/
class quickCheckBoxlist extends pnFormCheckboxList {
function render(&$render){
$ret_text = parent::render($render);
$ret_text = "<p>a test of this</p>" . $ret_text;
return $ret_text;
}
}
?>
First off. I had to place this in the pnForm plugins directory to get Zikula to see this. Is there some other way to do this? Second, nothing is being rendered. At least nothing appears on the page where the plugin is supposed to add its stuff. Can anyone guide me on this stuff. Thanks.
edited by: Paustian, datetimebrief
