TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: Blazingwolf on October 26, 2003, 08:43:56 PM

Title: Problem moving to new weather page
Post by: Blazingwolf on October 26, 2003, 08:43:56 PM
I set up my weather section to have 3 cities. I can move through all 3 cities but it will not move back to the first city with the arrow button. can some 1 help in this case?

This is my code:
region,9,0,-1
load,city,1
storevar,var4=1
endregion,9,0

region,9,1,-1
load,city,2
storevar,var4=2
endregion,9,1

region,9,2,-1
load,city,3
storevar,var=0
endregion,9,2

region,9,1000,-1
endregion,9,1000

imagebutton,226,0,right_arrow.png,t,9,4,%var4%,0

If you need more info please let me know. Thanks in advance.
Title: Problem moving to new weather page
Post by: srs on October 26, 2003, 08:46:02 PM
storevar,var=0

should be

storevar,var4=0
Title: Problem moving to new weather page
Post by: Blazingwolf on October 26, 2003, 08:48:13 PM
:shock: Doh!!! Boy do I feel stupid.
Title: Problem moving to new weather page
Post by: srs on October 26, 2003, 08:50:34 PM
hehe, its kinda hard when you've been looking at it a long time, but someone just taking a fresh look can spot the problem immediatly.  it happens to me all the time when coding :)
Title: 3rd town wheather forecast
Post by: Geronimo1 on November 02, 2003, 03:33:57 AM
I try you change adding a third town in tha analog-wheather.txt


Buit I do not have the three town displayed only two are working using the arrows, is there an other thing to modify
Title: Problem moving to new weather page
Post by: Blazingwolf on November 02, 2003, 10:03:58 AM
Make sure that you add the third city to your config file also. it should look like this after you add it in : city,3,6o,USAK0072,Alaska,f of course add your code and title.
Title: weather icon
Post by: Mehr on November 04, 2003, 02:02:07 PM
I have tried to set up the 3th city on weather section. There is the city3 on the buffer file (with ditales) but i cannot see it on my today screen.
Could some1 help me with this ,please?
I have changed the skin and config files as menthined here.( or reckon have done so, at least)

Thanks
Mehr
Title: Re: weather icon
Post by: Blazingwolf on November 04, 2003, 07:25:14 PM
Quote from: MehrI have tried to set up the 3th city on weather section. There is the city3 on the buffer file (with ditales) but i cannot see it on my today screen.
Could some1 help me with this ,please?
I have changed the skin and config files as menthined here.( or reckon have done so, at least)

Thanks
Mehr

Are you using the newest version? That is v.9.8. If you are then it is setup a little different for the skin(at least slider.txt is0. The skin file should look like this:
      //===========================================
      region,2,0,-1
      load,city,1
      storevar,var0=1
      endregion,2,0
      //===========================================   
      region,2,1,-1
      load,city,2
      storevar,var0=2
      endregion,2,1
       //===========================================

                               region,2,2,-1
                               load,city,3
                               storevar,var0=0
                               endregion,2,2

Notice that this is now region 2 instead of 9. You do not need to make any more changes to the config..
Title: Thanks
Post by: Mehr on November 05, 2003, 05:04:50 AM
Thanks , It works like a charm now.
Do i need to use the slider file, instead of the weather one, in case of furture changes( different sections, ( clock, launcher...))?


Mehr
Title: Re: Thanks
Post by: arbitrajeu on November 05, 2003, 05:34:36 AM
Quote from: MehrDo i need to use the slider file, instead of the weather one, in case of furture changes( different sections, ( clock, launcher...))?
You will see from the following lines in your config.txt file that the analog-weather.txt file is no longer in use as the default skin.

skin,Skins\slider.txt
//skin,Skins\analog-weather.com.txt

All changes should be made to slider.txt, unless you deliberately revert to the old skin file (I wouldn't advise it).