serge Posted February 9, 2015 Report Share Posted February 9, 2015 In the dashboard when you have a lot of invoices, services,etc, dashboard page can be LONG., and not all customers will scroll down so much. Each widget can display each up to 20 lines by widget's pages., so if you have in this order Widget 1: Invoices (20 lines) Widget 2: Services (20 lines Widget 3: Transactions (20 lines) Widget 3: Supports (20 lines) That do mean, "Transaction" is starting at +40 lines, and not all customers will presume it's bellow & will scroll down so much. So that why I created quick links for widgets at top & at bottom of dashboard, see pictures. Here the methods: ----------------------- in /app/views/client/YOUR-THEME/client_main.pdtjust after:<div class="col-md-9 right_content">Add: <a name="top"></a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#services");?>">Services</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#transactions");?>">Transactions</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#tickets");?>">Tickets</a> | <br> <br>At the end of filejust after:?>Add: <center> | <a href="<?php echo $this->Html->safe($this->client_uri . "#top");?>">Back to Top</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#invoices");?>">Invoices</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#services");?>">Services</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#transactions");?>">Transactions</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#tickets");?>">Tickets</a> | </center>-------------in /app/views/client/YOUR-THEME/client_invoices.pdtAt very beginning:Before:<?phpAdd:<a name="invoices"></a>----------------in /app/views/client/YOUR-THEME/client_services.pdtAt very beginningBefore:<?phpAdd:<a name="services"></a>--------------------------in /app/views/client/YOUR-THEME/client_transactions.pdtAt very beginningBefore:<?phpAdd:<a name="transactions"></a>-------------------------in plugins/support_manager_addons/views/default/client_widget.pdtAt very beginningBefore:<?phpAdd:<a name="tickets"></a> Blesta Addons 1 Quote Link to comment Share on other sites More sharing options...
Michael Posted February 9, 2015 Report Share Posted February 9, 2015 Or you can cut down the number of items per line which is easier: /config/blesta.php //////////////////////////////////////////////////////////////////////////////// // Pagination //////////////////////////////////////////////////////////////////////////////// // Number of results to display per page Configure::set("Blesta.results_per_page", 20); PauloV 1 Quote Link to comment Share on other sites More sharing options...
serge Posted February 9, 2015 Author Report Share Posted February 9, 2015 Great, I will be using the both. Quote Link to comment Share on other sites More sharing options...
WebHostCentral UK - Dean Posted February 27, 2015 Report Share Posted February 27, 2015 Is there a way to do this for just client side? if you change this it also changes admin results? Quote Link to comment Share on other sites More sharing options...
serge Posted February 27, 2015 Author Report Share Posted February 27, 2015 My hack is only on client area dashboard. by the way see file path from my above hack : /app/views/client/YOUR-THEME/ as you see, there is "client" folder in path Quote Link to comment Share on other sites More sharing options...
turner2f Posted November 29, 2016 Report Share Posted November 29, 2016 There are three (3) supplemental things to add to this "quick links" customization... 1) - If you use "Support Manger PRO" You will need to go to ... plugins/support_manager_pro/views/default/client_tickets_widget.pdt At very beginning Before: <?php Add: <a name="tickets"></a> ================ 2) - If you have added the "Quotes" widget to the Client Dashboard ... Download link - https://www.blesta.com/forums/index.php?/topic/4799-plugin-quotesestimates-plugin/#comment-35750 Modification link - https://www.blesta.com/forums/index.php?/topic/8092-how-to-add-the-quotes-widget-to-the-client-dashboard/ You will need to go to .../plugins/quotes/views/default/client_main.pdt At very beginning Before: <?php Add: <a name="quotes"></a> ================= 3) - Finally, you will add the URL links to the Client Dashboard You will need to go to... /app/views/client/YOUR-THEME/client_main.pdtJust after: <div class="col-md-9 right_content">Add: <!--//Top Quick Link Hack BEGINS--> <a name="top"></a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#services");?>">Services</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#transactions");?>">Transactions</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#quotes");?>">Estimates</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#tickets");?>">Tickets</a> | <br> <br> <!--//Top Quick Link Hack ENDS--> >At the end of file just after: ?>Add: <!--Bottom Quick Link Hack BEGINS--> <center> | <a href="<?php echo $this->Html->safe($this->client_uri . "#top");?>">Back to Top</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#invoices");?>">Invoices</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#services");?>">Services</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#transactions");?>">Transactions</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#quotes");?>">Estimates</a> | <a href="<?php echo $this->Html->safe($this->client_uri . "#tickets");?>">Tickets</a> | </center> <!--Bottom Quick Link Hack ENDS--> 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.