Vreports & Dashboard by VTExperts
  • 1. Do Vreports support UNION in the SQL Report
  • 2. VReports & dashboard extension is working slow
  • 3. Can a user change the default tab name in Vreports and Dashboard extension?
  • 4. Report on dashboard only shows records assigned to the current user
  • 5. Do Vreports supports 3rd level relationship
  • 6. Vreports malfunctions creating reports on "Transactional" modules with respect services/products
  • 7. How to make a Pivot report data Selectable
  • 8. New feature: Scheduled Vreports, now supports formatting of the reports
  • 9. Charts are missing in scheduled reports
  • 10. Setting VReports Dashboard as Homepage
  • 11. Adding widget to Reports & dashboard
  • 12. Generating SLA reports
  • 13. Access Vreport's Dashboard through My Dashboard button
  • 14. Is it possible to show non-integer values as stacked bars in Vreports?
  • 15. VReports Date picker not working in Vtiger 7.4
  • 16. How to check on how many mails, in TOTAL, are being sent on a day/week/month
  • 17. How To Access Vreports Through My Dashboard Button.
  • Efficient Reporting With Vreports
Powered by GitBook
On this page
  • Question
  • Answer
  • The user have to modify config.inc.php
  • Modify includes/main/WebUI.php and replace
  • If using Vtiger 73 Modify includes/main/WebUI.php and replace

10. Setting VReports Dashboard as Homepage

Users can set the VReports Dashboard as the Homepage of the CRM

Previous9. Charts are missing in scheduled reportsNext11. Adding widget to Reports & dashboard

Last updated 10 months ago

Question

Can a user set VReport's dashboard as home page?

Answer

Yes, user can set Vreports dashboard as homepage. Following is the changes that user have to make

The user have to modify config.inc.php

$default_module = 'VReports';

Modify includes/main/WebUI.php and replace

if($module == 'Calendar') { // To load MyCalendar instead of list view for calendar //TODO: see if it has to enhanced and get the default view from module model $view = 'Calendar'; }

with

if($module == 'Calendar') { // To load MyCalendar instead of list view for calendar //TODO: see if it has to enhanced and get the default view from module model $view = 'Calendar'; }elseif($module == 'VReports') { $view = 'DashBoard'; }

If using Vtiger 73 Modify includes/main/WebUI.php and replace

if ($this->hasLogin()) { $defaultModule = $currentUser->defaultlandingpage; $moduleModel = Vtiger_Module_Model::getInstance($defaultModule); if(!empty($defaultModule) && $defaultModule != 'Home' && $moduleModel && $moduleModel->isActive()) { $module = $defaultModule; $qualifiedModuleName = $defaultModule; $view = 'List'; if($module == 'Calendar') { // To load MyCalendar instead of list view for calendar //TODO: see if it has to enhanced and get the default view from module model $view = 'Calendar'; } } else { $module = 'Home'; $qualifiedModuleName = 'Home'; $view = 'DashBoard'; } } else { $module = 'Users'; $qualifiedModuleName = 'Settings:Users'; $view = 'Login'; }

With

if ($this->hasLogin()) { //$defaultModule = $currentUser->defaultlandingpage; $defaultModule = vglobal('default_module'); $moduleModel = Vtiger_Module_Model::getInstance($defaultModule); if(!empty($defaultModule) && $defaultModule != 'Home' && $moduleModel && $moduleModel->isActive()) { $module = $defaultModule; $qualifiedModuleName = $defaultModule; $view = 'List'; if($module == 'Calendar') { // To load MyCalendar instead of list view for calendar //TODO: see if it has to enhanced and get the default view from module model $view = 'Calendar'; }elseif($module == 'VReports'){ $view = 'DashBoard'; } } } else { $module = 'Users'; $qualifiedModuleName = 'Settings:Users'; $view = 'Login'; }

VReport's dashboard can be configured as homepage