Dashboard

The dashboard (located under the Overview tab) is the very first screen you see when logging into Feng Office. It provides you with the most recent and most urgent information from all modules. For example you can see at a glance what tasks and milestones are due, what messages and comments have been posted recently, or what documents have been uploaded.

The dashboard consists of widgets. Every widget displays information from a specific module or a specific type of information. The Notes widget for example displays the most recent entries from the notes module, while the Latest comments widget displays the most recent comments from all modules. As you can see the widget titles should speak for themselves. Please note the widget colors - these are the same as in the detail view of the according object type.

You can choose which widgets should be displayed on your dashboard. This is an individual setting for each user and therefore part of your preferences section in your user account.

PLEASE NOTE: Since widgets are related to specific modules a widget will remain invisible if the corresponding module has been deactivated by your Feng Office administrator even if you choose to show this widget in your account preferences. For example: If your administrator hides the “Notes” module, this will not only hide the “Notes” tab but the “Notes” widget on the dashboard as well.

You have the choice among the following widgets:

  • Two weeks calendar widget
  • Unread email in dashboard
  • Mini calendar widget
  • Late tasks and milestones widget (tasks and milestones that are not completed yet and have a due date in the past)
  • Pending tasks widget (tasks that are not completed yet)
  • Tasks assigned to widget
  • E-mails widget
  • Notes widget
  • Documents widget
  • Charts widget (has no effect as for Feng Office 1.4.1 and earlier)1)
  • 'Tasks in progress' widget (tasks somebody is working on right now using the time tracking feature)
  • Comments widget
  • Workspace information widget
  • Getting started widget: This is a widget with some basic instructions for getting started. It's displayed when you log into your Feng Office for the first time. Usually you won't need this widget once you set up your system properly.

If you don't like the way information is presented in the dashboard you can switch to a standard list view. Simply click on the button in the upper right corner of the dashboard:

Getting started takes the user through basic setup tasks, it is necessary to edit this file if it provides access to modules the the administrator wants disabled e.g. contacts

The php file that manages this widget is stored in:

  • /fengoffice/application/views/dashboard/widget_getting_started.php

The current widget_getting_started.php gets text for the two entries site_interface.php of the active language e.g. for French.

  • fengoffice/language/fr_fr/site_interface.php
'welcome to administration' => 'Bienvenue',
'welcome to administration info' => 'Bienvenue sur le panneau d\'administration. Utilisez cet outil pour gérer les données de votre société, membres, clients et contextes avec lesquels vous collaborez.',

To remove links to disabled applications remove the relevant section at the bottom of the file e.g. to remove the link to contacts delete

<image src='<?php echo image_url('/16x16/types/contact.png')?> ' />&nbsp;
<a class='internalLink dashboard-link' href='<?php echo get_url('contact', 'add')?> ' ><?php echo lang('contact')?></a>&nbsp;|&nbsp;

Works for image and html files (at least)

Replace line 31 in application/views/dashboard/widget_documents.php, containing:

</a></td> 

with:

	</a>
<?php if ($document->isDisplayable()) {?>
    <div>
        <div style="position: relative; left:0; top: 0; width: 450px; height: 120px; background-color: white">
        <iframe style="width:100%;height:100%;border:1px solid #ddd;" src="<?php echo get_sandbox_url("feed", "display_content", array("id" => $document->getId(), "user_id" => logged_user()->getId(), "token" => logged_user()->getTwistedToken())) ?>"></iframe>
        </div>
    </div>
<?php } elseif (($dtype = $document->getFileType()) instanceof FileType && $dtype->getIsImage()) { ?>
    <div>
        <a href="<?php echo get_url('files', 'download_image', array('id' => $document->getId(), 'inline' => true)); ?>" target="_blank" title="<?php echo lang('show image in new page') ?>">
            <img id="<?php echo $document->getId(); ?>Image" src="<?php echo get_url('files', 'download_image', array('id' => $document->getId(), 'inline' => true)); ?>" style="max-width:450px;max-height:120px"/>
        </a>
    </div>
<?php } // if ?>
	</td>

The result would be like this:

Relevant to FO1.7.2

2)