title: How to access value from URL in smarty template?
body: <p>I'm newbie in smarty so facing so much difficulties in using it.
  I've got the following URL :</p>
  
  <pre><code>http://localhost/schooling_needs/sneeds1.0/web/control/modules/chapter_youtube_videos/chapter_youtube_videos.php?chapter_id=102
  </code></pre>
  
  <p>I want to assign the value of chapter_id to a text field in smarty template. For that I wrote following code, but it's not getting the correct value.</p>
  
  <pre><code>&lt;input type="text" name="chapter_id" id="chapter_id" value="{$chapter_id}"&gt;
  </code></pre>
  
  <p>The text field is not getting any value. Would you please help me by telling how should I assign the value of <code>chapter_id</code> to the above textfield?
  Thanks in Advance. </p>