Difference between revisions of "QPR Element Tooltips"

From Mea Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
  
'''''TOOLTIP PROPERTIES''''' contains a list of attributes that is shown by the tooltip. The list order determines the order in the tooltip. The first attribute in the list is the header attribute (shown bolded as a tooltip title). Each item in the list have the following properties:
+
'''''TOOLTIP PROPERTIES''''' contains a list of attributes that is shown by the tooltip. The list order determines the order in the tooltip. The first attribute in the list is the header attribute (shown bolded as a tooltip title). Each item in the list have the following properties:[[File:Testi.PNG]]
  
 
==Installation==
 
==Installation==

Revision as of 10:47, 8 June 2017

Overview

Purpose of the element tooltips add-on is to show textual data stored in an (EA/PD) element, when a cursor is moved on top of the element, as illustrated by image 1. The element tooltips feature is implemented as a portal customization. The feature is configurable, so that it can be defined which properties (attributes) are shown in the tooltip. If value of a property is empty, it’s shown in the element tooltip. If element doesn’t contain the property at all, that property is not shown in the tooltip. This is the case when the tooltip is configured to show a property of certain type of elements, that another type of elements don’t have. Properties can also be configured by element type if further customization is needed. Element specific configuration overrides the global configuration.


Configuration parameters

The customization contains the following parameters to adjust the behavior of the add-on.


TOOLTIP PROPERTIES contains a list of attributes that is shown by the tooltip. The list order determines the order in the tooltip. The first attribute in the list is the header attribute (shown bolded as a tooltip title). Each item in the list have the following properties:File:Testi.PNG

Installation

  • 1. Take backup copies of your existing templates
  • 2. Copy included subpssummary.tpl file to the WAS\PG subfolder in your templates folder of your instance,
e.g. C:\ProgramData\QPR Software\QPR 2017\2017.1\Servers\Templates\WAS\PG
  • 3. Configure parameters TOOLTIP_PROPERTIES and TOOLTIP_EXCLUDE_CRITERIA (see the previous chapter).
  • 4. Copy included elementtooltips.css to C:\inetpub\wwwroot\qpr2017-1\qprsoftware\stylesheets\
  • 5. Clear the portal template cache with following command in a web browser:http://<server address>/<QPR Suite version>/Portal/qpr.isapi.dll?QPRWAS&*cleartemplatecache e.g. http://localhost/QPR2017-1/Portal/qpr.isapi.dll?QPRWAS&*cleartemplatecache