Jump to content

Recommended Posts

Posted

Hello,

I need a div between my header and footer for every page but the homepage is there any php or anything I could use so on the homepage the div wouldn't be visible. Or would I have to add the div manually on each page?

Thanks

Posted

This has come up so many times I'm sure. Surprisingly difficult to find in search though.

<?php if(MainController::$activeModule != 'Frontpage'){ ?>
<div></div>
<?php } ?>

  • Like 1
Posted

This has come up so many times I'm sure. Surprisingly difficult to find in search though.

<?php if(MainController::$activeModule != 'Frontpage'){ ?>
<div></div>
<?php } ?>

Would i place that code in my skins layout.tpl file?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...