Page 1 of 1

template doensn't work correctly

Posted: Fri 17 Dec 2010 10:22 pm
by nitrx
I've made a template for the month and yearextremes http://www.apeldoorn.tk/weer/monthyear.htm The day is missing by Highest Wind speed average ( <#YearPressLD> ) and the generated version / update time also doesn't show up I laso miss the navigation links. I can't find out where its goes wrong any clues ?

Template htm in zip (processed with cumulus and ftp-ed every 10 minutes)

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 1:34 am
by beteljuice

Code: Select all

<td><span><#YearWindH></span>&nbsp;<#windunit> at <span><#YearWindHT"></span> on <span><#YearWindHD></span></td>
You have a " that you don't want ;)

Code: Select all

<td><span><#YearWindH></span>&nbsp;<#windunit> at <span><#YearWindHT></span> on <span><#YearWindHD></span></td>

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 8:18 am
by nitrx
Thanks Betel I was staing hours at it , solved now :clap:

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 11:36 am
by Synewave
Glad you found it. Your Month/Year page code looks very similiar to mine! I guess if you copied my source, you accidently left the " in as I use id="YearWindHT" tags defined in a javascript instead of webtags.

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 11:50 am
by nitrx
It was yours :) thanks

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 11:51 am
by Synewave
LOL, you're welcome!

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 11:59 am
by nitrx
Just have to do today and yesterday.htm join together :lol:

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 12:10 pm
by Synewave
Ahh, now my code for that is a bit messy! Some of the data strings are defined in the javascript instead of using <span>. I must get round to tidying it up.

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 12:47 pm
by nitrx
Well I just go to try it. ;)

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 2:52 pm
by nitrx
Well I've made the today and yesterdaytemplate and it works fine http://www.apeldoorn.tk/weer/dagen.htm, left the beaufort and apparant out it, if somebody want it in English I can upload the template.

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 3:00 pm
by Synewave
You could always add the times of the highs and lows.

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 3:10 pm
by nitrx
I can't find webtags for them :?:

Re: template doensn't work correctly

Posted: Sat 18 Dec 2010 3:27 pm
by nitrx
Oeps found them in the wiki thanks for pointing