components - Joomla JToolBarHelp -
i develoment joomla component , try add jtoolbarhelp
jtoolbarhelper::addnew('anadir'); jtoolbarhelper::editlist('ver'); jtoolbarhelper::deletelist('vergrupos');
i have 'anadir' , 'ver' , 'vergrupos' functions in controller
function ver() { $this->showview('ver'); } function anadir() { $this->showview('anadir'); } function vergrupos() { $this->showview('vergrupos'); }
but when click button page donts redirect anyway
have idea ? thanks
need add name of controller name before function want call
jtoolbarhelper::addnew('controller.anadir'); jtoolbarhelper::editlist('controller.ver'); jtoolbarhelper::deletelist('controller.vergrupos');
remove controller name of controller in case
Comments
Post a Comment