turner2f Posted November 29, 2016 Report Share Posted November 29, 2016 Here's how to add the "Quotes" widget to the Client DashboardSTEP 1 - Download and install the "Quotes" plugin from https://www.blesta.com/forums/index.php?/topic/4799-plugin-quotesestimates-plugin/#comment-35750 STEP 2 - Open up app/client_controller.php STEP 3 - Find ... $widgets = [ 'client_invoices'=>['uri'=>$this->base_uri . 'invoices/?whole_widget=true'], 'client_services'=>['uri'=>$this->base_uri . 'services/?whole_widget=true'], 'client_transactions'=>['uri'=>$this->base_uri . 'transactions/?whole_widget=true'], ]; break; ( As a reference, you can see Line 60 of the client_main.php file within the "quotes" plugin. ) And change the above code to ... $widgets = [ 'client_invoices'=>['uri'=>$this->base_uri . 'invoices/?whole_widget=true'], 'client_services'=>['uri'=>$this->base_uri . 'services/?whole_widget=true'], 'client_transactions'=>['uri'=>$this->base_uri . 'transactions/?whole_widget=true'], 'client_quotes'=>['uri'=>$this->base_uri . "plugin/quotes/client_main/index/?whole_widget=true"] ]; break; ALL Done ... If you want to change the header title 1) - Go to .../plugins/quotes/language/en_us 2) - Change $lang['QuotesPlugin.index.boxtitle_index'] = "My Quotes"; 3) - To say $lang['QuotesPlugin.index.boxtitle_index'] = "Project Quotes & Cost Estimates"; Michael, Blesta Addons and Paul 3 Quote Link to comment Share on other sites More sharing options...
Michael Posted November 29, 2016 Report Share Posted November 29, 2016 Nice customisation Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted November 29, 2016 Report Share Posted November 29, 2016 nice contribution . best regards Michael 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.