title: passing (global) variable from one smarty template to another
body: <p>I am using smarty version 2.6.26 and according to the docs by using {include 'file.tpl' scope='global'} or {include 'child_template.tpl' scope=parent} one should be able to access the variables contained in the child template and use them in the parent template.</p>
  
  <p>as an example I have code like below in my child template:</p>
  
  <pre><code>  {capture assign="project_variable" name=project_data scope="global"}
    my text data here...
    {/capture}
  </code></pre>
  
  <p>The variable {$project_data} is available within this template now</p>
  
  <p>In my parent (dashboard) template I am using:</p>
  
  <pre><code> {include 'child_template.tpl' scope=global}
  </code></pre>
  
  <p>but if I try to use {$project_data} in the  parent template it comes out blank. 
  so it appears the variable set in the child template is local only?</p>
  
  <p>according to the documentation at:
  <a href="http://www.smarty.net/docs/en/language.function.include.tpl" rel="nofollow">http://www.smarty.net/docs/en/language.function.include.tpl</a></p>
  
  <p>"You can use all variables from the including template inside the included template".</p>
  
  <p>what am I missing here?
  thanks in advance for any insight.</p>