Difference between revisions of "Inline dashboard"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
m (8 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
In order to display a dashboard on a page for instance on an item add the following code to the custom script
In order to display a dashboard on a page for instance on an item add the following code to the custom script
      
      
   $('.mainContent form').append('>p class=inlineDashboard<>/p<');
   $('.mainContent form').append('<p class=inlineDashboard></p>');
   $('.inlineDashboard').load('main?command=board&Dashboard=4&HideLinks=1');
   $('.inlineDashboard').load('main?command=board&Dashboard=4&HideLinks=1');

Latest revision as of 12:52, 10 December 2021

In order to display a dashboard on a page for instance on an item add the following code to the custom script

  $('.mainContent form').append('<p class=inlineDashboard></p>');
  $('.inlineDashboard').load('main?command=board&Dashboard=4&HideLinks=1');