Jump to content
  • 0

Change Icon For Client Side Tab


sweta.tests

Question

7 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...