Author Topic: "Self Built"sites  (Read 24177 times)

0 Members and 2 Guests are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: "Self Built"sites
« Reply #125 on: March 15, 2017, 07:55:44 PM »
OK, lets do it like this

Take those two pages and save them as .txt and attach them here and I will tell you then what to change

Offline foxtrot722

  • Member
  • *
  • Posts: 21
Re: "Self Built"sites
« Reply #126 on: March 15, 2017, 08:14:51 PM »
This is the real page
 http://users.lowcountry.com/~yamaha3

This is nothing more than URL forwarding from the folks I purchased the domain name www.smoaksweather.com

Save the HTML as a .TXT file but it WILL NOT attach. :evil:

if you go to  http://users.lowcountry.com/~yamaha3 and view source, should see what I see

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: "Self Built"sites
« Reply #127 on: March 15, 2017, 08:18:18 PM »
Yes, and this is the page where you will not change anything. This is the one that is displayed inside the "frame" on your homepage.

This is what you have now:

you have the index.php or index.html (one of those) -> this page has this frame inside which you are loading the yamaha3 page.

What we need to do is change the index.php/index.html so that instead of loading the other page inside it, we will just redirect the user to the yamaha3 page.

So we need to modify the index.php/index.html, not the yamaha3, that one is fine as it is now

Offline foxtrot722

  • Member
  • *
  • Posts: 21
Re: "Self Built"sites
« Reply #128 on: March 15, 2017, 08:27:03 PM »
"Yes, and this is the page where you will not change anything. This is the one that is displayed inside the "frame" on your homepage. "

Now that makes sense,  I think I understand.

Here is where I'm getting lost, how do I get to index.php or index.html. What do you do to see this section?

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: "Self Built"sites
« Reply #129 on: March 15, 2017, 08:39:18 PM »
It is the default page on your server.
When you enter your domain name, your server always looks for index.php or index.html

Example my page:

http://www.meteotemplate.com

When you enter just this, the server automatically looks for http://www.meteotemplate.com/index.php or index.html, depending on which one it finds (uses html preferentially). This is what is loaded when you enter just the domain in the address bar

Offline foxtrot722

  • Member
  • *
  • Posts: 21
Re: "Self Built"sites
« Reply #130 on: March 15, 2017, 09:22:36 PM »
yes, I understand that part. I used the FTP feature of Win7 file explorer and copied the file named index over to my local "D" drive. When I open it, it is the html code for the complete page, can you copy over the code from the index you are seeing. I would love to also know how you get to it so I could see what your are seeing

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: "Self Built"sites
« Reply #131 on: March 15, 2017, 09:35:38 PM »
OK, this is the full HTML of your current homepage:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html>
<head>
<title>smoaksweather</title>
<meta name="keywords" content="smoaks shunkworks weather" />
<meta name="description" content="smoaks weather" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<frameset rows="100%">
<frame src="http://users.lowcountry.com/~yamaha3" title="smoaksweather" frameborder="0" noresize="noresize"/>
<noframes>
<body>
<h1>smoaksweather</h1>
<p><a href="http://users.lowcountry.com/~yamaha3">http://smoaksweather.com/</a></p>
</body>
</noframes>
</frameset>
</html>

And you can see that it is just the HTML that loads the iframe and the link to what to load in the iframe. So I would replace the above code with just the one I sent you that will not use an iframe and use direct redirection.

However, thinking about it, this will probably work ok too :D It's just that unless necessary, iframes are usually not used like this.

Offline foxtrot722

  • Member
  • *
  • Posts: 21
Re: "Self Built"sites
« Reply #132 on: March 16, 2017, 04:43:30 PM »
First thing I notice is there is a line where skunk is misspelled.

Next, would you mind giving me detail instructions on how your are getting to that index page? I index I can see through the FTP is not that one.

Thanks for the patience

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: "Self Built"sites
« Reply #133 on: March 16, 2017, 04:49:27 PM »
Hi Fox,
your index must be in your server root, that is what the server loads first (unless you made some redirection in your hosting cPanel).

In the highest public directory of your server you should have some index.

If you want you can PM me your FTP and I would have a look. It is totally up to you (if you want you can temporarily change your password). Just offering it if you want :-)

Offline FreeMan

  • Member
  • *
  • Posts: 19
Re: "Self Built"sites
« Reply #134 on: May 31, 2017, 12:14:01 PM »
Nice to see that more users getting custom sites.

Here's my site http://soltid.no
Moved it from another domain so you may have seen it before. Done some updates on the site.

The feature I use the most on my site is this:

It calculates the amount of rain and snow for the next 90 minutes based on data from the weather radar.

Also have some scripts that automatically create and upload time-lapse videos to Youtube everyday.

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2295
    • CNYWeather
Re: "Self Built"sites
« Reply #135 on: May 31, 2017, 12:26:04 PM »
Nice to see that more users getting custom sites.

Here's my site http://soltid.no
Moved it from another domain so you may have seen it before. Done some updates on the site.

The feature I use the most on my site is this:

It calculates the amount of rain and snow for the next 90 minutes based on data from the weather radar.

Also have some scripts that automatically create and upload time-lapse videos to Youtube everyday.

Thats a great site. I wonder why Google Chrome didn't ask to translate it?
Tony




Offline droiddk

  • Forecaster
  • *****
  • Posts: 334
Re: "Self Built"sites
« Reply #136 on: May 31, 2017, 03:50:26 PM »
Nice to see that more users getting custom sites.

Here's my site http://soltid.no
Moved it from another domain so you may have seen it before. Done some updates on the site.

The feature I use the most on my site is this:

It calculates the amount of rain and snow for the next 90 minutes based on data from the weather radar.

Also have some scripts that automatically create and upload time-lapse videos to Youtube everyday.

Nice job!

Regards

Offline FreeMan

  • Member
  • *
  • Posts: 19
Re: "Self Built"sites
« Reply #137 on: June 03, 2017, 10:43:29 AM »
Thats a great site. I wonder why Google Chrome didn't ask to translate it?

Nice job!

Thanks.

Used to have english translation on my site before, but don't know why Google Chrome doesn't translate it.