sweta.tests Posted November 26, 2014 Report Posted November 26, 2014 Hi, How can I change default icon(settings icon) which is displayed on client side tabs added using module? Quote
0 ModulesBakery Posted November 26, 2014 Report Posted November 26, 2014 public function getClientTabs($package) { return array( "tabClientSome"=> array( "name" => Language::_("yourmodule.tab_client_yourmodule", true), "icon" => "glyphicon glyphicon-someicon", )); } As licensecart said, however, from your module .php file: blesta/components/modules/yourmodule/yourmodule.php search for the getClientTabs method and modify each tab as shown above. Michael 1 Quote
0 Michael Posted November 26, 2014 Report Posted November 26, 2014 Edit the module's view files. /components/modules/(Name)/views/default/ Or edit the plugin's view files. /plugins/(Name)/views/default/ Quote
0 sweta.tests Posted November 26, 2014 Author Report Posted November 26, 2014 Edit the module's view files. /components/modules/(Name)/views/default/ Or edit the plugin's view files. /plugins/(Name)/views/default/ Which files? I want to update icons of tabs. Quote
0 Michael Posted November 26, 2014 Report Posted November 26, 2014 Which files? I want to update icons of tabs. Depends on the module / plugin. Quote
0 sweta.tests Posted November 26, 2014 Author Report Posted November 26, 2014 Depends on the module / plugin. I am using domain registrar module. Quote
0 Michael Posted November 26, 2014 Report Posted November 26, 2014 Ah I've looked and I've confused myself as I can't find it :s I thought we set them in the module itself but it looks like it would be in the root of the module and not the views folder. Quote
0 sweta.tests Posted November 27, 2014 Author Report Posted November 27, 2014 public function getClientTabs($package) { return array( "tabClientSome"=> array( "name" => Language::_("yourmodule.tab_client_yourmodule", true), "icon" => "glyphicon glyphicon-someicon", )); } As licensecart said, however, from your module .php file: blesta/components/modules/yourmodule/yourmodule.php search for the getClientTabs method and modify each tab as shown above. Thanks. Quote
Question
sweta.tests
Hi,
How can I change default icon(settings icon) which is displayed on client side tabs added using module?
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.