Glenn, Something odd. My index.html.tmpl looks ok (attached) so something is happening when it's used to generate the page. I have also attached the skin.conf file in case that helps in understanding what's going on. Both files are local and the problem is on my local machine as well as the pages uploaded to my GoDaddy site.
On Saturday, February 2, 2019 at 5:24:42 PM UTC-5, Glenn McKechnie wrote: > > Hi Bob, > > Your page at http://grattans.org/wx/ is missing some vital code, which > interestingly you have correct in your last post. > Is that from your local tmpl version? > > The navbar code is missing the 6 lines that start with - in the diff > below. > > @@ -451,17 +451,11 @@ > <input type="button" value=" Year " > onclick="openURL('year.html')" /> > <p>Monthly summary: > <select NAME=noaaselect onchange="openNoaaFile(value)"> > - #for $monthYear in $SummaryByMonth > - <option value="$monthYear">$monthYear</option> > - #end for > <option selected>-Select month-</option> > </select> > <br/> > Yearly summary: > <select NAME=noaaselect onchange="openNoaaFile(value)"> > - #for $yr in $SummaryByYear > - <option value="$yr">$yr</option> > - #end for > <option selected>-Select year-</option> > </select> > </p> > > I have your page at http://grattans.org/wx/ correctly generating the > NOAA pages here if I include that AND also fix the unicode error in > your http://forecast.weather.gov url. > > CheetahGenerator complains about invalid code - I see this " > highlight=on​ " > Remove evrything after the =on and it should generate correctly and > you'll get a fresh copy created and uploaded to your website. > Obviously you'll eventually need to correct the URL and replace > whatever we have rudely taken out. > > I suspect half the problem is here, with this broken URL. It breaks > page generation and we/you aren't seeing your changes as the latest > changes aren't being uploaded. > > > > > > > On 03/02/2019, [email protected] <javascript:> <[email protected] > <javascript:>> wrote: > > Glenn, > > Here's what I found, so far: > > > > two NOAA directories > > /home/weewx/skins/Standard/NOAA - contains 2 template files for YYYY and > MM > > > > summaries > > /home/weewx/pub_html/NOAA - contains all the summary files *.txt from > > 2007-present day > > > > I substituted the original index.html.tmpl and an older weewx.conf file > and > > > > got the same results, no pull down YYYY or MM summaries. > > > > The files seem to be being built but not accessible from index.html > > Standard skin. > > > > From my index.html.tmpl: > > > > <div id="navbar"> > > <input type="button" value=" Current " > > onclick="openURL('index.html')" /> > > <input type="button" value=" Week " > > onclick="openURL('week.html')" /> > > <input type="button" value=" Month " > > onclick="openURL('month.html')" /> > > <input type="button" value=" Year " > > onclick="openURL('year.html')" /> > > <p>Monthly summary: > > <select NAME=noaaselect onchange="openNoaaFile(value)"> > > #for $monthYear in $SummaryByMonth > > <option value="$monthYear">$monthYear</option> > > #end for > > <option selected>-Select month-</option> > > </select> > > <br/> > > Yearly summary: > > <select NAME=noaaselect onchange="openNoaaFile(value)"> > > #for $yr in $SummaryByYear > > <option value="$yr">$yr</option> > > #end for > > <option selected>-Select year-</option> > > </select> > > </p> > > </div> > > </div> > > > > Thanks for your continued help. Hope the above tells you something. > Sorry > > I'm not much > > of a programmer. > > > > Bob > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "weewx-user" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > > > Cheers > Glenn > > rorpi - read only raspberry pi & various weewx addons > https://github.com/glennmckechnie > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Standard_skin_conf
Description: Binary data
index_html_tmpl
Description: Binary data
