Difference between revisions of "Inline dashboard"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
(Created page with "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>Loadi...")
 
m (8 revisions imported)
 
(7 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 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');