Author Topic: clock  (Read 10971 times)

Offline PeterP

  • Jr. Member
  • **
  • Posts: 27
    • Coromandel Town weather
clock
« on: October 12, 2012, 09:11:27 PM »
Hi Jacques,

I followed your instructions to set up a new website. I am very happy, but my clock has no hands!

Also the city and country do not display?

Can you help?

Peter

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: clock
« Reply #1 on: October 13, 2012, 06:47:58 AM »
Hi Peter,

Your problem seem to be that the template doesn't find the 2 .js file needed.
make sure that the clockt.js andd clockp.js are accessible in the lib/clock folder.

If this doesn't help, send me a link to that page.

Regards,
Jacques

Please, consider supporting this site 

Offline PeterP

  • Jr. Member
  • **
  • Posts: 27
    • Coromandel Town weather
Re: clock
« Reply #2 on: October 13, 2012, 11:58:07 PM »
Thank you Jacques, but I decided to try another template for fun ( its wet and windy and I am bored!) as it is so easy with what you have created, and this one has no clock :P

A new question.. I cannot find where to edit the top line that says "YOUR CITY"?

http://www.coromandeltownweather.net/infos.php

Thank you so much,
Peter

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: clock
« Reply #3 on: October 14, 2012, 07:02:18 AM »
Hi Peter,

As I see, you're getting some experience with template installation!  ;D

To change YOUR CITY, you simply have to edit file infos.php, and at line #55, you'll find it!

  <p><?php echo $Tr_intro1.' : (YOUR CITY) '.$Tr_intro2.' '.$recordsbegandate; ?></p>

Sorry, it's a little hidden into the code as all phrases around this are "variables" translable by template!

I'll rush to produce an other template to try!  ;)

Best regards,
Jacques
Please, consider supporting this site 

Offline Spencer

  • Jr. Member
  • **
  • Posts: 15
    • Wallaceville Weather
Re: clock
« Reply #4 on: October 29, 2012, 01:23:06 AM »
Hi Jacque I am having the same problem with the clock hands not displaying.  Site is at
http://www.wallacess.id.au/weather/manage.php
The clock file are in the lib\clock folder

Also how do I stop the data going beyond the template in the history pages

Offline Spencer

  • Jr. Member
  • **
  • Posts: 15
    • Wallaceville Weather
Re: clock
« Reply #5 on: October 29, 2012, 02:11:31 AM »
Hi please ignore my question about the clock - I updated the index.php page and it corrected.

The question still remains however - how do I stop the information over running the background in the history pages.

Please excure me the last time I worked on a web page I was using netscape navigator to write it

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: clock
« Reply #6 on: October 29, 2012, 07:58:22 AM »
Hi Spencer,

I'm happy that your clock runs ok now!

For your problem with History page lenght, I don't know why, but column
aren't sized to normal. To correct this, you could check to find these lines
right after the <table...>:

<col width="325" />
<col width="140" />


These lines control width for first 2 columns (and 3rd take remaining space),
simply use smaller numbers to make these columns smaller (and give more
remaining space to the date)

Hope this help!

Regards,
Jacques
Please, consider supporting this site 

Offline Spencer

  • Jr. Member
  • **
  • Posts: 15
    • Wallaceville Weather
Re: clock
« Reply #7 on: October 30, 2012, 02:13:59 AM »
Thanks for that.  Fixed the issue.

I ended up using
<col width="300" />
<col width="140" />

Offline abc123

  • New member
  • *
  • Posts: 2
    • Bretforton Weather
Re: clock
« Reply #8 on: December 30, 2012, 07:25:36 PM »
Hi Jacques,

Firstly, thanks for all your hardwork setting up these templates. They are great.

I have downloaded the Weather Blue Php template and it is working great except I cant get the clock to work. It doesn't show any hands. I have checked and both the 2 .js file needed are present.

The website url is: www.bretforton-weather.co.uk

Hope you can help,

Best wishes,

Paul

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: clock
« Reply #9 on: December 31, 2012, 07:59:08 AM »
Hi Paul,

All needed .js seems to be there, but in your index.php file, there is
a Js block missing, just before line </head>

Then, add this block for daynames translation:
<script type="text/javascript">
  var dayname = new Array('<?php echo $Tr_sun."', '".$Tr_mon."', '".$Tr_tue."', '".$Tr_wed."', '".$Tr_thu."', '".$Tr_fri."', '".$Tr_sat."', '".$Tr_sun; ?>');
</script>


Hope this help,

Cheers,
Jacques
Please, consider supporting this site 

Offline abc123

  • New member
  • *
  • Posts: 2
    • Bretforton Weather
Re: clock
« Reply #10 on: January 01, 2013, 04:16:54 PM »
Worked perfectly thanks!!!

Offline Loades

  • New member
  • *
  • Posts: 1
    • Upper Shirley Weather
Re: clock
« Reply #11 on: January 30, 2013, 12:46:18 PM »
I also had this problem and Google led me here.  Just wanted to say that the same script was missing from my index.php file There must be a reason that two of us had abbreviated index.php files?  Hope this report will help.

Malcolm

PS My first impression of Weatherbyyou is that it's excellent.  Merci!

Offline threetowner

  • New member
  • *
  • Posts: 1
    • Ardrossan Weather
Re: clock
« Reply #12 on: February 04, 2013, 03:41:12 PM »
Hi there

Had the same issue. The 2 .js files were in the lib/clock folder but the couple of lines of javascript code were missing from the index.php file. Added them in and it's working fine now. Site is at www.clydeserver.com/weather

Thanks

Stuart

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: clock
« Reply #13 on: February 04, 2013, 06:03:16 PM »
Hi Stuart,

Thanks to highlight that details! An error was introduced
when I added translation for daynames. I've made this mistake
and sent an update to the Weather Blues v2 Template Manager Module
but forgotted to repack the zip file of the download section!
Thanks to take time to let me know that!  :)

Regards,
Jacques
Please, consider supporting this site 

Offline jman414999

  • New member
  • *
  • Posts: 6
    • In the Back yard
Re: clock
« Reply #14 on: February 26, 2015, 08:50:43 AM »
the .js script fixed my clock as well