hello everyone
i am trying to find how to display component view on frontpage.
but there isn't such option.
can you please assist?
               
                
               
          




 1.00 out of 6 based on 1 vote(s)
1.00 out of 6 based on 1 vote(s)


               <div id="gkMainbody">
                  <?php if(($this->layout->isFrontpage() && !$this->API->modules('mainbody')) || !$this->layout->isFrontpage()) : ?>
                  <jdoc:include type="component" />
                  <?php else : ?>
                  <jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
                  <?php endif; ?>
               </div>
               <div id="gkMainbody">
                  <jdoc:include type="component" />
               </div>

