Meteotemplate - new free website template

[color=red][b]New Block

[quote author=Jachym link=topic=60996.msg523686#msg523686 date=1496594118]
Hi guys

[color=red][b]Block Update

This is the data source:
http://www.hnms.gr/hnms/greek/navigation/forecastseas_popup_html

This link is ok! It looks all Greek to me! :wink:

There’s probably something that has to do with the codepage! The browser translates the Greek alphabet characters to Cyrillic.
The codepage of the HNMS page is Greek ISO.

Thanos

[color=red][b]New Block

Right, you ‘coders’, I need help. Can you be that person?

I’m doing a dead simple page for MT. I am still learning PHP so be kind, please.

This bit of code results in the image below, but what’s wrong with it? I’ve been to W3Schools, Stackoverflow and lots of other sites. Maybe age is catching up with me as I’m certainly missing something. It seems to my ‘include’ attempt.

<?php
    ############################################################################
	# 	Meteotemplate
	# 	http://www.meteotemplate.com
	# 	Free website template for weather enthusiasts
	# 	Author: Jachym
	#           Brno, Czech Republic
	# 	First release: 2015
	#
	############################################################################
	#
	#	Blank Page
	#
	# 	Template for blank page
	#
	############################################################################       
	include("../config.php");
	include($baseURL."css/design.php");
	include($baseURL."header.php");
?>

<!DOCTYPE html>
<html>
 <?php error_reporting(E_ALL);?>
	<head>
		<title><?php echo $pageName?></title>
		<?php metaHeader()?>
		<style>
			
		</style>
	</head>
	<body>
		<div id="main_top">
			<?php bodyHeader();?>
			<?php include($baseURL."menu.php")?>
		</div>
		<div id="main">
			<div class="textDiv">
				<h3><center>Daily 10-minute Log</center></h3>
	<center>The log begins at 0910 one day and ends at 0900 the next.
The new day's report replaces the previous day's when the 0910 report is transferred to the site.
It does not refresh automatically, you will need to use your browser for that.</center>
				
</div>
				
		</div>
                <center><?php include("http://www.blaxlandweather.com/dailylogout.html")?></center>
		<?php include($baseURL."footer.php")?>
	</body>
</html>

I’ve been researching and improvising for hours and am now stuck. Any help will be most gratefully accepted.


Hi,
including a page like this really is not the best idea. It would be probably much better to paste the code directly. And also you have not shown us the code of that page and remember that when you include a page like this, the code is executed directly in the page, so most likely there is some clash with some other part of that script - which we cannot tell either because I only see the include.

Thanks, J

[quote author=Dujon link=topic=60996.msg524015#msg524015 date=1497482869]
Thanks, J

Ah! #-o Thanks for your expertise, J

[quote author=Dujon link=topic=60996.msg524017#msg524017 date=1497484214]
Ah! #-o Thanks for your expertise, J

No doubt, J


OK, wouldnt the interactive table page do the same thing? You can also choose a custom interval if you want the day to begin at 9AM

Hi guys

[color=red][b]Block Update

Great work!
I have the sea temperature working :slight_smile:
I do see a minor spelling mistake for the URL to go to the sea temperature web site in the setup instructions :wink:

Block Update - Sea Temperature 1.1

Hi guys,

  • unit conversion fix
  • data source URL fix

Enjoy

[color=red][b]New Plugin

Hi guys

[color=red][b]Block Update

[color=red][b]Block Update

[color=red][b]New Block