title: How to use include function in another custom function?
body: <p>I am using Smarty 3.1.8</p>
  
  <p>I want to include a tpl file only one time on page even if tpl file called more times.I dont know that I can do the that with Smarty without write a new custom function.So I think to write a new custom include function for this. </p>
  
  <p>Can I use include function of smarty in the custom include function ? </p>
  
  <p>I want to use smarty include function in my the custom include function for compile given template. 
  How am I do this ? </p>
  
  <p>I want to use as follow :</p>
  
  <pre><code>{include_js file="script.users.tpl"}
  </code></pre>