Variable value

Posted on
Mon Aug 10, 2015 1:31 pm
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Variable value

Hello,

I am building a new CP using the images and templates shipped with Indigo 6.1; I am variable which toggles true/false (atHome variable).
The "onClick" function toggles the variable, and the image should switch between red/green dot.
The behavior is correct on Safari on OSX, in Indigo Touch but not on Android.
It happens with all true/false variables.

HousePad or Indigo problem?

Thanks
Marco

Posted on
Mon Aug 10, 2015 1:38 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Variable value

What is the filename of the image that you are using? Make sure that you use the proper format:

myImage+.png
myImage+true.png
myImage+false.png

And that you select the "myImage+.png" as the image to display within the control page editor. If this is a built-in image, please let me know which filename because it should pick up the included images (those without the plus available). If this is the case it is possible I missed an included image or something.

Adam

Posted on
Mon Aug 10, 2015 3:16 pm
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: Variable value

Yes it is a default image and the name should be Red Green Dot.

Thanks
Marco

Posted on
Wed Aug 12, 2015 9:07 am
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Variable value

Yes it is a default image and the name should be Red Green Dot.

That image was indeed missing from my list. If you want an immediate fix, go to the file system and copy Red Green Dot.png to Red Green Dot+.png and in the control page editor, select the new one with the plus sign. Otherwise I will likely be releasing a small point update by the end of the week that will have this fix in it.

Adam

Posted on
Wed Aug 12, 2015 9:47 am
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: Variable value

Hello,

I did the fix and it works... :mrgreen:

Thanks :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests