Thank you

I now see, I asked that question 
before: https://groups.google.com/g/weewx-user/c/25fDk0RDdAg

[email protected] schrieb am Sonntag, 31. Dezember 2023 um 17:03:34 UTC+1:

> I don't know if I got you, but maybe this templates contains what you need 
> or is at least helpful:
>
> https://github.com/brewster76/fuzzy-archer/blob/0cba62f9e59a883699986478a694f19144bee61e/skins/Bootstrap/stats.html.tmpl#L66C92-L66C96
>
> Karen K schrieb am Sonntag, 31. Dezember 2023 um 15:51:29 UTC+1:
>
>> If I want to make a skin customizable I can use $getVar(). So instead of 
>> writing
>>
>> $day.radiation.max
>>
>> I can write
>>
>> #set $obs = 'day.radiation.max'
>> ...
>> $getVar($obs)
>>
>> But how to do that with other bindings than the standard binding?
>>
>> I tried
>>
>> #set $obs = 'day(data_binding="xyz_binding").xyz.max'
>> ...
>> $getVar($obs)
>>
>> but that does not work (and yes, "xyz_binding" is defined, and there is 
>> an observation type "xyz" in it, and $
>> day(data_binding="xyz_binding").xyz.max shows a value).
>>
>> Is there a way to use a binding, if the tag is defined by an expression?
>>
>> Remark: These are examples. At the end I want to use it within a #for 
>> loop.
>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5c1fc60b-5079-48c2-b586-df860f82eb6dn%40googlegroups.com.

Reply via email to