Jump to content

Show on other pages but not homepage


ewwharhar

Recommended Posts

The funny thing is, my buddy asked me the same question and I fixed it for phpArcade.

 

Fun stuff, I cannot remember how I fixed it, but I know I sure did, let me look around for that fix.

 

//EDIT:

here we go:

<?php
// End of the index.php file 
  $pagetitle = "Thank Your For Your Submission";
  $pagekeywords = $site_keywords;
  $pagedescription = $site_desc;

}

else
	{
$_SESSION['index'] = true;	// add this line!!!! 
      $includefile = "./includes/main.php";
    $pagetitle = "Title Here";
    $pagekeywords = $site_keywords;
      $pagedescription = $site_desc;
  	}
}
?>

 

In the overall.html file

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<?php

if ($_SESSION['index']) {
$display = $pagetitle . " - " . $site_title;
}else {
$display = $pagetitle;
}
unset($_SESSION['index']);
?>
<title><?=$display;?></title>

 

If you are using the phpArcade this should work just fine. Questions let me know.

 

 

--FrosT

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.