| Author |
Message |
WebDan New Member


Joined: Sep 28, 2003 Posts: 5
|
Posted:
Sun Sep 28, 2003 5:48 pm |
|
Just installed KISGB on my website,
When viewing the index page source, the page header is out of place. It's between the /HEAD and BODY tags. In the source file, index.php, line 308-310, it appears that the header.php file should be included after the BODY tag.
The web page displays correctly, however.
Any ideas?
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Sep 28, 2003 5:51 pm |
|
I'm sorry, I'm not understanding the problem? If the web site is displaying correctly, then what's the issue? |
|
|
|
 |
WebDan New Member


Joined: Sep 28, 2003 Posts: 5
|
Posted:
Tue Sep 30, 2003 9:31 pm |
|
I thought you might be interested that incorrect HTML is being generated.
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Sep 30, 2003 9:34 pm |
|
I think you misunderstood my reply. I am not understanding what you are trying to tell me. |
|
|
|
 |
WebDan New Member


Joined: Sep 28, 2003 Posts: 5
|
Posted:
Wed Oct 01, 2003 6:50 pm |
|
On my KISGB
When the PHP script on the page generates the HTML for the page, the code that is in the "header.php" file appears between the /HEAD and the BODY tags. You can see this when you View Source for the page. This code should be immediately after the BODY tag. As you well know, there should be no HTML between HEAD and BODY.
I don't understand how this is happening because the code of the PHP script would appear to be placing the header properly.
Nevertheless, because the browser is somewhat forgiving of HTML errors, the page displays properly on the screen. The display is OK even if the HTML is incorrect.
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Oct 01, 2003 7:05 pm |
|
Oh - ok. Now I see what you are talking about. I'll look into it. Thanks. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Thu Oct 02, 2003 7:03 am |
|
Would you please test this? In index.php, find this code | Code: | </head>
<?
if ($page_alignment_center) echo "<center>";
if ($use_header_view) @include("header.php");
?>
<body VLINK="<?echo $Vlink_visited_color?>" LINK="<?echo $Vlink_color?>" ALINK="<?echo $Vlink_active_color?>">
<form name="kisgb_view"> | and modify it to this | Code: | </head>
<body VLINK="<?echo $Vlink_visited_color?>" LINK="<?echo $Vlink_color?>" ALINK="<?echo $Vlink_active_color?>">
<?
if ($page_alignment_center) echo "<center>";
if ($use_header_view) @include("header.php");
?>
<form name="kisgb_view"> | Thanks! |
|
|
|
 |
WebDan New Member


Joined: Sep 28, 2003 Posts: 5
|
Posted:
Sat Oct 04, 2003 9:26 am |
|
That is correct.
Lines 500-503 should be moved down after line 504.
Thank you!
 |
|
|
|
 |
|
|
|
|