I'm pretty sure my (very basic) about.inc file is about the same as yours.
I've added consBatteryVoltage which works fine too. If you follow what Gary
has mentioned I'm sure a clue will turn up to help us help you :)
Welcome to the 41South weather site. This site uses a WeatherDuino Arduino
weather station
<ul>
<li>Station hardware: WeatherDuino emulating a $station.hardware</li>
<li>Transmitter battery voltage: $current.consBatteryVoltage</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>
On Sat, Feb 23, 2019 at 8:48 PM gjr80 <[email protected]> wrote:
> It's nothing to do with PHP - there is no PHP in the Belchertown extension
> nor does WeeWX/Cheetah use it, simply put a #include will cause Cheetah
> to appropriately display any search list entries it encounters. If it is
> not and it is displaying the tags as literal text it is because the tags
> concerned don't exist in the search list being used. Colin's success would
> indicate the issue is not with the Belchertown skin but rather a missing
> file or config setting. You may get some clues by running with debug=1 and
> looking at the log during report generation. It would certainly pay to look
> at the contents of the relevant Belchertown skin directories to verify
> everything is where it should be.
>
> Gary
>
> On Saturday, 23 February 2019 16:29:27 UTC+10, [email protected] wrote:
>>
>> Yes, clearly, and the variables would not show up on the about page as G
>> Hammer show unless there was actually an about.inc. Mine works fine, but I
>> am not passing any variables into it. I suspect there is a PHP wrapper
>> that is needed - are you using your about.inc to display variables? If
>> so, could you please post it up?
>>
>> On Saturday, February 23, 2019 at 12:09:22 AM UTC-6, Colin Larsen wrote:
>>>
>>> You need to remove the .example off the end so it is just about.inc
>>>
>>> On Sat, 23 Feb 2019, 19:07 , <[email protected]> wrote:
>>>
>>>> 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]> 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].
>>>>>> 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.
>>>>
>>> --
> 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].
For more options, visit https://groups.google.com/d/optout.