title: How to get joomla sections to display only on certain pages?
body: <p>I am brand new to joomla, and am trying to have a few sections, such as a feature slider, show up only on homepage, and some other stuff show only on internal pages.  I thought I was on the right track with this code, but does not work correctly.  What is the best way to do this? Thank you.</p>
  
  <pre><code>    &lt;div id="wrapper"&gt;
  
  &lt;!--====================HOME PAGE ONLY========================--&gt;
  
  &lt;?php if(JRequest::getVar('view') == "frontpage" ) : ?&gt;
  
      &lt;div id="feature_slides" class="featuredbox-wrapper"&gt;&lt;!--Featured Content Slider--&gt;
  
          &lt;jdoc:include type="modules" name="feature_slides" /&gt;
  
      &lt;/div&gt;&lt;!-- end #feature_slides --&gt;
  
  &lt;?php endif; ?&gt;
  
  &lt;!--====================END HOME PAGE ONLY========================--&gt;
  
  &lt;div id="main_content"&gt;
  
      &lt;!--====================INTERNAL PAGE ONLY========================--&gt;
  
      &lt;?php if(!JRequest::getVar('view') == "frontpage" ) : ?&gt;
  
          &lt;h2 class="page_name"&gt;I Am An Internal Page&lt;/h2&gt;
          &lt;h4 class="breadcrumbs"&gt;Breadcrumbs&lt;/h4&gt;
  
      &lt;?php endif; ?&gt;
  
      &lt;!--====================END INTERNAL PAGE ONLY========================--&gt;
  
  
      &lt;!--====================HOME PAGE ONLY========================--&gt;
      &lt;?php if(JRequest::getVar('view') == "frontpage" ) : ?&gt;
  
          &lt;div id="intro"&gt;
              &lt;jdoc:include type="modules" name="home_intro" /&gt;
          &lt;/div&gt;&lt;!-- end #intro --&gt;
  
      &lt;?php endif; ?&gt;
  
      &lt;!--====================END HOME PAGE ONLY========================--&gt;
  
      &lt;div id="main_area" class="clearfix"&gt;
          &lt;jdoc:include type="component" /&gt;   
      &lt;/div&gt;&lt;!-- end #main_area --&gt;
  
  
      &lt;div id="certifications"&gt;
          &lt;jdoc:include type="modules" name="certifications" /&gt;
      &lt;/div&gt;&lt;!-- end #certifications --&gt;
  
  &lt;/div&gt;&lt;!-- end main_content --&gt;
  
  
  &lt;div id="right_sidebar"&gt;
      &lt;jdoc:include type="modules" name="right_sidebar" /&gt;
  &lt;/div&gt;&lt;!-- end #right_sidebar --&gt;
  
  &lt;div class="separator"&gt;&lt;/div&gt;&lt;!-- end .separator --&gt;
  
  &lt;/div&gt;&lt;!-- end wrapper --&gt;
  </code></pre>