Witam,
Pojawił mi się problem przy odwoływaniu się do preferencji komponentu. Przy widoku listowanych rekordów, dodałem button Preferencje, w którym podaje się dane do logowania na serwis Allegro.pl.
Chciałem odwołać się do nich w widoku edycji, lecz wyskakuje mi taki Error:

Kod:
Fatal error: Call to undefined method JAdministrator::getParams() in C:\WebServ\httpd\html\Shop\administrator\components\com_allekolabo\views\product\view.html.php on line 20
Niżej podaje kod tego pliku

Kod:
<?phpdefined('_JEXEC') or die;


jimport('joomla.application.component.view');


class alleKolaboViewProduct extends JView {


	protected $product;
	protected $configs;
	/*protected $allegro_login;
	protected $allegro_password;
	protected $allegro_webAPI_key;
	protected $allegro_country;*/


	function display($tmpl = NULL){
		$this->product = $this->get('Item');
		$this->configs = JFactory::getApplication()->getParams();
		$this->toolbar();
		


		parent::display($tmpl);
	}


	function toolbar(){
		if($this->product->virtuemart_product_id){
			JToolBarHelper::title(JText::_('COM_ALLEKOLABO_EDIT_PRODUCT_TITLE'));
		}


		JToolBarHelper::apply('product.apply', 'JTOOLBAR_APPLY');
		JToolBarHelper::cancel('product.cancel');
	}
}
Może ktoś z Was coś odkryje, ja tu nic nie widzę..

Z góry dzięki