issue with view - Joomla! Forum - community, help and support
hi
i try add database new date. , ok have problem view. git community:
notice: undefined index: in c:\wamp\www\jo\libraries\joomla\application\component\view.php on line 413
and under table work when submit.
my files:
view.html.php
this can problem becouse use tutorial 1.5 , joomla version 2.5
you know have problem?
thanks help.
i try add database new date. , ok have problem view. git community:
notice: undefined index: in c:\wamp\www\jo\libraries\joomla\application\component\view.php on line 413
and under table work when submit.
my files:
view.html.php
code: select all
<?php
defined( '_jexec' ) or die( 'restricted access' );
jimport( 'joomla.application.component.view');
class witajviewdodaj extends jview
{
function display($tpl = null)
{
global $mainframe;
$model =& $this->getmodel();
parent::display($tpl);
}
}
?>this can problem becouse use tutorial 1.5 , joomla version 2.5
you know have problem?
thanks help.
joomla 2.5 has no support global $mainframe, try replace with:
code: select all
$mainframe =& jfactory::getapplication();
Comments
Post a Comment