Logged Out
Create an Account
Login:
Password:

Forgot your password?
Uploading layout.html file

Uploading layout.html file
[Back to Index]
Thread Tags
Primary: [Support]
Secondary: None

Hi Chop,

I tried to download your change to our website by saving the layout.html file to my hard drive. When I tryed to upload it back the whole website turned white with no graphics and the font was off. I was forced to revert to original and cannot figure out how to put your layout back in without that issue.

I also downloaded the default layout.html file and tried to install it right back in with the same result. Any clue what I'm doing wrong.

Thanks
I see what happened.

When you saved the page, it copied the images and stylesheets to the hard drive then changed the location of them in the code.

Look in the files for examples like this:

<link rel="stylesheet" href="choplayout_files/style.htm" type="text/css">

And change them to the correct location of href="/settings/divineforsaken/style"

It did it at least for the style and the logo. I'll upload the changes I made, but for the future, you'll want to right click and "Save Target As" or "Save Link As", which will allow you to download the file as a file, not as a "webpage" (the browsers like to be "nice" when you download a web page).

----
The day Microsoft makes a product that doesn't suck is the day they make a vacuum cleaner.


--
It's all in the reflexes.
Quote
href="/settings/divineforsaken/style"


Chops,

I tried using "save target as" and it still changed the links so I manually modified the file to correct the links per your post and on upload had the same problem when I tried to go live... could you let me know what other changes to make so that I'll have a valid backup to work from.

<html><head>
<link rel="stylesheet" href="/settings/divineforsaken/style" type="/settings/divineforsaken/text/css"/>
<!--style.php on the root is the default, and if you'd like to use this css unmodified, you're free to. Remember ALL paths in this file are relative to the root, however, most custom files will be loaded into the /settings/mysubdomain/files directory. -->
<link rel="shortcut icon" href="/settings/divineforsaken/icon">
<link rel="icon" href="/settings/divineforsaken/icon">

<title ivine Forsaken - <!-- System:Title --></title></head>
<body>
<table width="100%" cellpadding="0" border="0" cellspacing=0>
<tr valign="top">
<td align="center" colspan="3">
<table width="100%" border="0">
<tr>
<td width=175>
<a href="http://divineforsaken.dkpsystem.com"><img border=0 src="settings/divineforsaken/logo" alt="Divine Forsaken.com"></a>
</td>
<td valign="top" align=center style="font-size:14pt">
<table style="border: thin outset;" cellspacing="0" cellpadding="2" width="100%" border=0 >
<tr>
<td class=Event align=center valign=center>
<span class=EventName>
<!-- System:NextEventName -->
</span>
<span class=EventTime>
<!-- System:NextEventDate --><br>
<!-- System:NextEventTime --><br>
</span>
</td>
<td valign="top" class=TopStats nowrap>
<!-- System:TopStats -->
</td>
<td valign="top" class=TopStats>
<b>Popular Threads</b><br>
<!-- System opularThreads -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table style="width:100%" cellpadding=0 cellspacing=1>
<tr>
<td valign=top width=125 align=left style="width:185px">
<!-- System:Login --><br>
<!-- System:Menu:Menu --><br>
<!-- System:Menu:Resources --><br>
<!-- System:Menu KP -->
<center>
<a target=new href="http://getfirefox.com/" title="Get Firefox - The Browser, Reloaded."><img src="images/getfirefox.png" border="0" alt="Get Firefox"></a>
</center>
</td>
<td valign=top>
<center>
<span class=CountDown><!--System:CountDown --></span>
</center>
<table class="Subject" align="center" cellpadding="4" border=0 cellspacing="0" width="100%">
<tr>
<td align="center" class=Subject>
<div id=pagetitle><!-- System:Title --></div>
</td>
</tr>
<tr>
<td align="center" class=SubSubject>
<font size="2"><!-- System ageDesc --></font>
</td>
</tr>
</table><br>
<!-- System:Content -->
<center>
<span class=copyright><!--System:Copyright--></span>
</center>
</td>
<td valign=top width=125 align=left style="width:185px">
<!-- System:Calendar --><br>
<!-- System:Menu:Links --><br>
<!-- System:Online -->
</td>
</tr>
</table>
</body>
</html>


thanks
Sorry man...total early morning brain fart.

The location of the style page is "/style.php"

And you changed the type from "text/css" it must stay that, that's a File "Type" not a file "Location"

----
The day Microsoft makes a product that doesn't suck is the day they make a vacuum cleaner.


--
It's all in the reflexes.
Chop,

I changed the line in question to:

<link rel="stylesheet" href="/settings/divineforsaken/style.php" type="text/css"/>

Still turns everything white... was there another change I should have made?
Quote
Chop,

I changed the line in question to:

<link rel="stylesheet" href="/settings/divineforsaken/style.php" type="text/css"/>

Still turns everything white... was there another change I should have made?


Delete the stuff I just highlighted in red. The location of the file is "/style.php" not "settings/divineforsaken/style.php"

That's the default style information that uses the settings in your database. If you wnated to upload your own css file, you can use the Administrative File upload, then specify the proper location for the file (which would be something like /settings/divinesforsaken/files/style.css)

----
The day Microsoft makes a product that doesn't suck is the day they make a vacuum cleaner.


--
It's all in the reflexes.
changed it

<link rel="stylesheet" href="/style.php" type="text/css"/>

No change in effect. I'm over on chat right now
To fix this quickly and easily, all you have to do is click on the Layout File link, right click on the page that comes up and chooseview source. Then copy and paste the page text into note pad. Save it as a html file and upload it. That way none of the links are changed.


--
Eleipher, The Warlock Extraordinaire
The New Beginning
Thorium Brother Hood



Guild Webmaster


[Back to Index]