title: Joomla plugin : how to get article title and article id
body: <p>I have developed on simple plugin in Joomla 1.6
  I stuck at : How to get article title and article url.</p>
  
  <p>I am getting no output if tried to print below statement:</p>
  
  <pre><code>echo $article-&gt;title;
  echo $article-&gt;id;
  </code></pre>
  
  <p>I have written this in php file, not used MVC architecture.
  Is there any other settings need to do in Joomla admin side ?</p>
  
  <p>Please suggest your pointers for extracting article title and article url.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Pravin</p>