title: How to use a JUMI file in AJAX callback on Joomla
body: <p>I'm trying to use a JUMI file (a component for Joomla that allows me to get aceess to Joomla MVC) in AJAX callback. The structure is like this:</p>
  
  <ol>
  <li>file.php that calls AJAX file is already a JUMI file.</li>
  <li>file ajax.js (included in file.php) makes the call.</li>
  <li>file.tooltip.php is a JUMI file which output is shown on file.php. It needs to be a JUMI because I need to access Joomla libraries to get the data it processess.</li>
  </ol>
  
  <p>To prevent the problem that JUMI outputs a file with all the template I'm using in the Joomla call method in the end of the url in ajax.js: &amp;tmpl=component. It works, but however it brings together all other calls for javascripts and so on contained in the template, which is bringing me to conflicts. The page is very slow and other javascript components are not working.</p>
  
  <p>Does anyone know how is the best way to approuch the situation and get to a solution?</p>
  
  <p>Thanks a lot!</p>