problem with conditional Include and different Content
#1
Hello

i need 2 different Panel hight depending on content

default high and if content is Addon high


therefore i tought i do this via "conditional include"

Code:
<include condition="!Container.Content(Addons)">PanelHighMovies</include>
<include condition="Container.Content(Addons)">PanelHighAddons</include>

but this doesnt work (why?)

are there maybe other solutions?



(beside Coding the Panel twice and work with visibles of course)
Reply
#2
Try "IsEmpty(Container.PluginName)"
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
nice one

guess i shuld thake a brake Confused


(still not shure why "Container.Content" doesnt work there?)
Reply
#4
Maybe because once you enter an addon the container can be variable, eg. Movies, episodes etc.
Reply

Logout Mark Read Team Forum Stats Members Help
problem with conditional Include and different Content0