Yup, and I drop those variables in there and they do not render either.  (I 
just tried it).   I do not think the about.inc.example supports dropping 
variables into it as it seems to be straight html.

On Friday, February 22, 2019 at 11:18:54 PM UTC-6, Colin Larsen wrote:
>
> Hmm, not quite sure what you are doing different to me, but if you edit 
> the file as per instructions it certainly works. Can you confirm that your 
> file is just called about.inc and it resides in the skins/Belchertown 
> directory?
>
> On Sat, Feb 23, 2019 at 5:33 PM <[email protected] <javascript:>> wrote:
>
>> All answers are correct, yet if you put those variables into about.inc, 
>> the do not work.  I am wondering if you need to have the page PHP like.  
>> Maybe Pat can post the source for his?
>>
>> On Friday, February 22, 2019 at 10:15:13 PM UTC-6, Colin Larsen wrote:
>>>
>>> Creating About Page and Records Page
>>>
>>> The About Page and Records Page offer some areas for custom HTML to be 
>>> run. To create or edit these pages, go to the skins/Belchertown folder. 
>>> These files should not be overwritten during skin upgrdades, but it's 
>>> always best to have a backup just in case!
>>>
>>>    - Create (or edit) the skins/Belchertown/about.inc and 
>>>    skins/Belchertown/records.inc files with your text editor, such as 
>>>    Notepad or Nano.
>>>       - These files take full HTML, so you can get fancy if you want.
>>>       - You can view, and use the sample file about.inc.example 
>>>       
>>> <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/about.inc.example>
>>>        and records.inc.example 
>>>       
>>> <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/records.inc.example>.
>>>  
>>>       Just rename to remove the .example, edit and you should be good 
>>>       to go.
>>>    - Wait for an archive interval for the pages to be generated.
>>>
>>>
>>> On Sat, Feb 23, 2019 at 5:13 PM Colin Larsen <[email protected]> 
>>> wrote:
>>>
>>>> You should just edit the Inc file, about.inc
>>>>
>>>> On Sat, 23 Feb 2019, 17:04 Andrew Milner, <[email protected]> 
>>>> wrote:
>>>>
>>>>> which file did you edit??  looks as though you perhaps changed the 
>>>>> .html file instead of the .html.tmpl file
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Saturday, 23 February 2019 04:54:28 UTC+2, G Hammer wrote:
>>>>>>
>>>>>> I'd like to include some WeeWX variables in the About page, but when 
>>>>>> I use the HTML sample I get the variable names as output.
>>>>>>
>>>>>> This:
>>>>>> <ul>
>>>>>>     <li>Station hardware: $station.hardware</li>
>>>>>>     <li>Server uptime: $station.os_uptime</li>
>>>>>>     <li>WeeWX uptime: $station.uptime</li>
>>>>>>     <li>WeeWX version: $station.version</li>
>>>>>>     <li>Belchertown Skin Version: $belchertown_version</li>
>>>>>> </ul>
>>>>>>           
>>>>>>
>>>>>> Results in this:
>>>>>>
>>>>>>
>>>>>>    - Station hardware: $station.hardware
>>>>>>    - Server uptime: $station.os_uptime
>>>>>>    - WeeWX uptime: $station.uptime
>>>>>>    - WeeWX version: $station.version
>>>>>>    - Belchertown Skin Version: $belchertown_version
>>>>>>
>>>>>> As long as I'm on the topic, is there a list of inbuilt variables?
>>>>>>
>>>>>> -- 
>>>>> 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.
>>>>>
>>>> -- 
>> 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.
>>
>

-- 
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.

Reply via email to