Hi, I wanted to know where the setting is for what gets displayed during a power on. I tried to search for a poweron command but didn't get a result. I want to remove the weather's poweron status and just have the battery display after a soft-reset. Right now, I get scrollbars from another plugin that takes up alot of room. :? (Notestoday)
I am using version 0.9.8 and a slightly modified slider.txt skin.
Thanks.
I am looking at this as well execpt that I do not want the Memory/Battery to display upon power on or each time my theme rotates.
I think what you want can be found in the skin file you are using. There is an earlier post that helped me with this subject. It was on page two of the Help and Support area with the heading "Owner Info Poping Up"
http://www.dark-mojo.com/TodayPlus/viewtopic.php?t=178
Hope this helps...
JAC
The line you need is found in the skin files and looks like these : initregion,0,0
initregion,1,0
initregion,4,999
initregion,10,999
initregion,8,0
initregion,11,999
initregion,14,999
The lines with a 0 at the end will launch on power up. The lines with a 999 at the end will not launch on power up. For example the weather is region 1 (default slider skin). With it listed as 999 it will not come on when you power on.
Unfortunately in 0.9.8 version of slider.txt there's no reference to poweron, tried that already. :(
I was reading another post about defregion and when it is used. I'm now wondering if something "like" poweron is invoked when this refresh happens.
initregion only gets executed when the plugin is initially loaded not on each power on event.
The plugin will be reloaded when
a) You go to settings / today / click ok
b) soft reset
poweron events occur when the ppc is switched back on after being off.
Whoa, that's fast! ok thx, time time process with my cottage cheese brain. I've been studying all day. :P
srs, thank you for the correction. This should still work right? At least I don't get the weather again after soft resets.
yes, what you posted is correct, except for the confusion over poweron events and when the plugin gets reloaded.
It works but now I think I have to tweak the defregions. Some of the scrollbar is left behind as a black bar in my date field.
Thanks for clarifying those two, I'll try and use poweron for an owner page after I clean things up.
I'll also post my skin when it is at a presentable stage. :roll: