this client dashboard Widgets orign is show Invoices , Services and transactions. but now i need to change transactions to ticket. this ticket is support_mange plugin.
I don't know how to add to dashboard. Then i change app/client_controller.php protected function clientWidgets():
protectedfunction clientWidgets(){
$widgets = array();
$widget_location =null;switch($this->controller){case"client_main":
$widget_location ="widget_client_home";// Set the default widgets to appear
$widgets = array('client_invoices'=>array('uri'=>$this->base_uri ."invoices/?whole_widget=true"),'client_services'=>array('uri'=>$this->base_uri ."services/?whole_widget=true"),'client_tickets'=>array('uri'=>$this->base_uri ."plugin/support_manager/client_tickets/index/not_closed/"),/*'client_transactions'=>array('uri'=>$this->base_uri . "transactions/?whole_widget=true")*/);break;}
It can display title, but click Open or Closed will display 2 panel-title.
How should I solve this problem?
I see invoces and services ajax return "{"replacer":null,"content":"\n\t\t\t\n\t\t\t\t<div id=\"client_invoices\" class=\"panel panel-blesta content_section\"
but my ticket widgets ajax return "{"replacer":".panel_content","content":"\t\t\t<script type=\"text\/javascript\">\n$(document).blestaSetHeadTag(\"link\",";
Question
ty0716
As shown in figure:
this client dashboard Widgets orign is show Invoices , Services and transactions. but now i need to change transactions to ticket. this ticket is support_mange plugin.
I don't know how to add to dashboard. Then i change app/client_controller.php protected function clientWidgets():
but this not display title ,then i change
It can display title, but click Open or Closed will display 2 panel-title.
How should I solve this problem?
I see invoces and services ajax return "{"replacer":null,"content":"\n\t\t\t\n\t\t\t\t<div id=\"client_invoices\" class=\"panel panel-blesta content_section\"
but my ticket widgets ajax return "{"replacer":".panel_content","content":"\t\t\t<script type=\"text\/javascript\">\n$(document).blestaSetHeadTag(\"link\",";
1 answer to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now