Jump to content
  • 0

[Solved]Client Blestaloadwidgets Question,add Support To Dashboard Getwidgets


Question

Posted

My solution:

 

change websiteroot//app/client_controller.php  on line:69 to→→

$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")*/
				); 

Then if find this problem.Not show support tickets title

 

20150814094216.png

 

 

 

Followed by a variety of search.I see a topic http://www.blesta.com/forums/index.php?/topic/3669-client-widget-render/

 

 

change /plugins/support_manager/views/default/client_tickets.pdt  on line:22

$this->WidgetClient->create($this->_("ClientTickets.index.boxtitle_tickets", true), array('id'=>"client_tickets"),null);
			// $this->Html->ifSet($render_section, null)

Perfect solution.

 

20150814094626.png

 

 

======================================================================================

 

As shown in Figure:

 

in http://domain.com/client/main,  this is ajax load.

 

Now i want to remove "Transactions" area. or Replace "Transactions" to  "ticket".

 

How to do this?

 

 

20150813103130.png

 

20150813102346.png

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
×
×
  • Create New...