我现在做了个组件...的..问题在前台显示的时候...一直显示
Call to a member function load() on a non-object
function viewLink($option)
{
$id=JRequest::getVar('id',0);
$row=&JTable::getInstance('link','Table');
echo $id;// 这个可以获取到....
$row->load($id);//这里一直提示有错误....
if(!$row->published)
{
JError::raiseError(404,JText::_('Invaild ID provided'));
}
HTML_link::showLink($row,$optioin);
}
EasyCalcCheck Plus - Warning: The form was not found, because the template uses overrides. Please adjust the search string for the form in the file easycalccheckplus.php or delete the overrides in templates/yourtemplate/html!