0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

remove only frontpage mainbody

    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    remove only frontpage mainbody

    Posted 16 years 7 months ago
    • Hello there,

      I need help with removing mainbody from only frontpage. I want it stay in other pages. I read previous posts about it, but could not get results.I am not sure how it is with my temlate and joomla version.

      haydarov.net/rt

      Thanks
      Gurban
  • Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • Hi Mike,

      The code below, do I exclude that one or .....? If yes, I could not find it.

      Hiding the frontpage
      Example: excluding Mainbody (where content is loading) from the frontpage
      Quote

      <?php if ($option != "com_frontpage") : ?>
      <?php mosMainbody(); ?>
      <?php endif; ?>
    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • When I remove that part, the whole site disappears.
    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • I have only this code, related to frontpage:

      Where could be the other, any idea?

      <?php if ($option != "com_frontpage") : ?>
      <div class="pathway">
      <?php mosPathway(); ?>
      </div>
  • Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • In the template's index.php find:
      <?php mosMainbody(); ?>

      and change it to:
      <?php if ($option != "com_frontpage") : ?>
       &nbsp; &nbsp; &nbsp; <?php mosMainbody(); ?>
      <?php endif; ?>
    • xyzer me's Avatar
    • xyzer me
    • Sr. Rocketeer
    • Posts: 165
    • Thanks: 0

    Re: remove only frontpage mainbody

    Posted 16 years 7 months ago
    • I changed it, but no any changes? ???

Time to create page: 0.058 seconds