Solved ? $PARAM not working with constants ?
#1
Noticed that $PARAM is not working for constants :

According the wiki : http://kodi.wiki/view/Skinning_Manual#Us...n_includes

Quote:Any appropriate value can be passed as parameter in the new include call, including $INFO labels, $LOCALIZE, $VARs, constants, etc. Empty string (value="") can also be passed, for example to override a non-empty default value set in the include definition.

Code:
<constant name="Value1">200</constant>
<constant name="Value2">400</constant>

<include name="Constant1Test" condition="Mycondition1">
     <param name="left" value="Value1" />
</include>

<include name="Constant1Test" condition="Mycondition2">
     <param name="left" value="Value2" />
</include>

But this doesnl't work :

Code:
<include name="Constant1Test">
     <control type="image">
          <left>$PARAM[left]</left>
          ...
     </control>
</include>

Can someone please confirm ? (Using KRYPTON)

PS : this is a summary of a whole process using cascading params, so just FYI using the following is not relevant in my case (but works) :

Code:
<include name="Constant1Test" condition="Mycondition1">
     <left>Value1</left>
</include>

<include name="Constant1Test" condition="Mycondition2">
     <left>Value2</left>
</include>

Thx
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply


Messages In This Thread
? $PARAM not working with constants ? - by Jayz2K - 2016-03-22, 12:42
Logout Mark Read Team Forum Stats Members Help
? $PARAM not working with constants ?0