Jump to content

Only show when on home.....


JohnMck93

Recommended Posts

<?php 
	if($_GET['module'] == 'frontpage')
	{ ?>

Content to hide

<?php
 } 
?>

I pulled this off my header.tpl which hides a my latest pilots and latest pireps if it is on any other page than my frontpage.

I'm no coder so if that isn't 100% correct I'm sure one of my PHP gurus will step in and correct it.  ;D

Link to comment
Share on other sites

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...