That's right. That's basically what the Seasons skin does.

On Tue, Jul 4, 2023 at 12:11 PM [email protected] <
[email protected]> wrote:

> Yes, it is a search list extension. So, I specify a key and a list in the
> config, then the ordering is then done in the template, following some
> naming conventions?
>
> Tom Keffer schrieb am Dienstag, 4. Juli 2023 um 20:53:46 UTC+2:
>
>> OK. Where does $ImageGenerator come from? Is it a search list extension
>> that scans the [ImageGenerator] section of the merged skin.conf, then uses
>> that ordering? If so, perhaps it could also accept an option that specifies
>> the ordering.
>>
>> This is the way the "self-provisioning" feature of the Seasons skin
>> works. See section [DisplayOptions]
>> <https://github.com/weewx/weewx/blob/master/skins/Seasons/skin.conf#L40>.
>>
>> On Tue, Jul 4, 2023 at 11:46 AM [email protected] <[email protected]>
>> wrote:
>>
>>> I am caring, because my skin puts images in the order they are
>>> configured, something like this in the cheetah template:
>>>
>>> #for $imageName in $ImageGenerator
>>> <img src="${imageName}.png" alt="" class="mw-100">
>>> #end for
>>>
>>> If I want to put an extra plot, I cannot put it anywhere between by just
>>> adding it's config in weewx.conf, I have to edit skin.conf to achieve this.
>>>
>>> Tom Keffer schrieb am Dienstag, 4. Juli 2023 um 20:08:20 UTC+2:
>>>
>>>> Not sure why you would care but, no, during the merge, new items are
>>>> appended.
>>>>
>>>> On Tue, Jul 4, 2023 at 10:50 AM [email protected] <
>>>> [email protected]> wrote:
>>>>
>>>>> https://weewx.com/docs/latest/customizing.htm#Processing_order
>>>>>
>>>>> shows four option hierarchies.
>>>>>
>>>>> When for example, the skin.conf defines:
>>>>>
>>>>> [ImageGenerator]
>>>>>     [[day_images]]
>>>>>         [[[daytemp]]]
>>>>>             [[[[outTemp]]]]
>>>>>             [[[[dewpoint]]]]
>>>>>
>>>>> and weewx.conf defines:
>>>>>
>>>>> [StdReport]
>>>>>     [[MyReport]]
>>>>>         [[[ImageGenerator]]]
>>>>>             [[[[day_images]]]]
>>>>>                 [[[[[inDaytemp]]]]]
>>>>>                     [[[[[[inTemp]]]]]]
>>>>>                     [[[[[[inDewpoint]]]]]]
>>>>>
>>>>> inDaytemp is after dayTemp. Can I specifiy inDaytemp to appear before
>>>>> daytemp in the config object data structure?
>>>>>
>>>>> --
>>>>> 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/8fd0252e-b6b1-427e-bff7-a7c54e73ff97n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/8fd0252e-b6b1-427e-bff7-a7c54e73ff97n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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/80756c7d-2bb4-4199-955d-90121c82858bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/80756c7d-2bb4-4199-955d-90121c82858bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/5494ae4b-1b51-4db0-a401-74d278e8c61cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/5494ae4b-1b51-4db0-a401-74d278e8c61cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEDa25g3eVWZb1-%3DWvEcHkAy5_ut%3Dc4CURn1tezWaBUAdQ%40mail.gmail.com.

Reply via email to