Jump to content
  • 0

Change Icon For Client Side Tab


Question

7 answers to this question

Recommended Posts

  • 0
Posted
    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.

  • 0
Posted

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
Posted
    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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...