Difference between revisions of "Inline dashboard"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
m (8 revisions imported)
 
(4 intermediate revisions 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>Loading ...</p>" );
  $('.mainContent form').append('&lt;p class=inlineDashboard&gt;&lt;/p&gt;');
$('.inlineDashboard').load('main?command=board&Dashboard=4&HideLinks=1');
  $('.inlineDashboard').load('main?command=board&Dashboard=4&HideLinks=1');

Latest revision as of 11: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');