1

Topic: hide an image

i want to hide a banner on my main page homepage, but to show it when its not on the home page
is this code right ? can anyone help

  <?php if ($_COOKIE['session_logged_in'] == 'true') { ?>
  <?php } ?>
  <?php if ($_SERVER['PHP_SELF'] != "/index.php?m=home" )
{ ?>

image this is what i want to hide

<?php } ?>

2

Re: hide an image

<!-- IF active_module != "homepage" -->
  show your banner
<!-- ENDIF -->

3

Re: hide an image

thanks for that if i wanna hide the banner on more pages how can i do that
<!-- IF active_module != "homepage" -->
<!-- IF active_module != "member_profile" -->

  show your banner
<!-- ENDIF -->

like that?

4

Re: hide an image

Pretty much. Although look up the manual for proper syntax.