sweta.tests Posted November 26, 2014 Report Share Posted November 26, 2014 Hi, How can I change default icon(settings icon) which is displayed on client side tabs added using module? Quote Link to comment Share on other sites More sharing options...
0 ModulesBakery Posted November 26, 2014 Report Share 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 Link to comment Share on other sites More sharing options...
0 Michael Posted November 26, 2014 Report Share 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 Link to comment Share on other sites More sharing options...
0 sweta.tests Posted November 26, 2014 Author Report Share 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 Link to comment Share on other sites More sharing options...
0 Michael Posted November 26, 2014 Report Share Posted November 26, 2014 Which files? I want to update icons of tabs. Depends on the module / plugin. Quote Link to comment Share on other sites More sharing options...
0 sweta.tests Posted November 26, 2014 Author Report Share Posted November 26, 2014 Depends on the module / plugin. I am using domain registrar module. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted November 26, 2014 Report Share 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 Link to comment Share on other sites More sharing options...
0 sweta.tests Posted November 27, 2014 Author Report Share 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 Link to comment Share on other sites More sharing options...
Question
sweta.tests
Hi,
How can I change default icon(settings icon) which is displayed on client side tabs added using module?
Link to comment
Share on other sites
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.