title: Condition code for featured article content joomla 3
body: <p>in previous versions of joomla the following code worked to enable different content to be presented for the featured article:</p>
  
  <pre><code>&lt;?php if (JRequest::getVar('view')=='featured') : ?&gt;
  STUFF FOR HOMEPAGE
  &lt;?php endif; ?&gt;
  
  
  &lt;?php if (JRequest::getVar('view')!=='featured') : ?&gt;
  STUFF FOR ANY PAGES APART FROM HOMEPAGE
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>...or something like this anyway. Is there an equivalent function in joomla 3. I have spent a considerable amount of time searching for a solution, however i am not familiar with php code so am unsure as to what exactly i am looking for. As of yet i have not found anything for joomla 3. Any suggestions?</p>