title: Specific template loaded with php
body: <p>I have a joomla component and I want to have a custom template depends on the resolution.</p>
  
  <p>I have <code>default_list.php</code> file where I want to include a php code to load a specific template (<code>default_list_template1.php</code>) depending on the device resolution.</p>
  
  <p>Can someone give me a clue?</p>