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?
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
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/
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.
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.
0 sweta.tests Posted November 26, 2014 Author Report Posted November 26, 2014 Depends on the module / plugin. I am using domain registrar module.
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.
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.
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now