2016-01-15, 00:01
(2016-01-14, 22:06)Jayz2K Wrote:Mr. V Wrote:If I could use a variable within the template I can then use $PARAM[Id]. Each and every widget would then have a unique id, it would greatly reduce the variables and animations between menu items would be much smoother. Just a hunch on the reported disappearing widget issue, I am suspecting it could be related to using the same panel id. (i cant replicate the issue though myself). I must say though along the road of coding the widgets the same panel id between menu items has caused many coding headaches and i have had to find ways around the issue.
Do you just need to separate panels ID's or do you also need to add variables ?
If you need both, it's something I tried with including $PARM[ID] in variables values but doesn't work, so I used cascading $PARAMs.
And, you're right, the disappearing panel is because of the shared ID ...
Hi Jayz2K
Adding separate panel ids is no issue. There is widget panel information artwork plot ect. that is displayed outside of the panel so variables are required for fall-backs and mixed widgets.
I'm not sure how to accomplish the cascading $PARAMs. Do you have an example? May be you could point me to an xml on your GitHub.