Difference between revisions of "Inline dashboard"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
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');

Revision as of 23:43, 5 December 2017

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');