<label fallback="1">$INFO[Skin.String(MyName)]</label>
does not work for button control. Is this expected or is it a bug?
Button infolabels
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2012-04-12 15:59
Post: #1
|
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2012-04-12 16:28
Post: #2
Curious enough $VAR works. Trac it?
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-04-12 16:59
Post: #3
Variables are great; can't wait until we can use them for positions and sizes.
![]() |
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2012-04-12 17:01
Post: #4
by "does not work" You mean it will display fallback value or just nothing?
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first My previous forum/trac nickname: grajen3 |
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2012-04-12 17:12
Post: #5
(2012-04-12 17:01)pieh Wrote: by "does not work" You mean it will display fallback value or just nothing? By does not work I mean there is no label at all. EDIT: This works: PHP Code: <variable name="MyVar">
(This post was last modified: 2012-04-12 17:16 by pecinko.)
|
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2012-04-12 17:37
Post: #6
I put this in confluence home window as a test and it seems to be working.
Code: <control type="button" id="9292">Does this button is in container? Need more details to reproduce it. Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first My previous forum/trac nickname: grajen3
(This post was last modified: 2012-04-12 17:38 by pieh.)
|
| find quote |
pecinko
Member+ Joined: Dec 2008 Reputation: 29 Location: Prague / Belgrade |
2012-04-12 19:15
Post: #7
OK.
I have buttons in grouplist control. Here is what is happening if I use the button from your example and place it separately (NO grouplist): PHP Code: <control type="button" id="9292">I have NO label when Skin.String is empty and have subtitle script path when add-on is set. If I make a variable: PHP Code: <variable name="TEST">and use it as: PHP Code: <control type="button" id="9292">everything works as expected. I have this problem only with buttons - labels in or out of container are working fine. Eden build on OS X 10.7.3.
(This post was last modified: 2012-04-12 19:19 by pecinko.)
|
| find quote |
pieh
Team-XBMC Member Posts: 672 Joined: Aug 2010 Reputation: 13 Location: Poland |
2012-04-12 19:48
Post: #8
Right, I found that we simply don't use fallback attribute for buttons. We'll get that fixed.
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first My previous forum/trac nickname: grajen3 |
| find quote |

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help