Hello friends...
I tried to use this in my skin. But it won't work.
Even the "albumview" won't work.
<if cond="coverview">
<box x=.....>
</box>
</if>
The box is in the skin but it stays there in all views.
I also tried <else> but also no succes.
Do I forget something??
"coverview"
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: "coverview"
I think, you assume the <if cond="coverview">-statement will check, if the current view is the coverview. However, this is not true.
Instead, the statement checks, if the coverview functionality should be present at all. The condition is false eg. if the user has deselected the option "Settings / Kiosk mode / Functionality / Cover view":
In this case, the layout may hide eg. a button that normally switches from album view to cover view.
To find out or to change the current view mode in a script, you can use the program.viewMode property, see http://www.silverjuke.net/sdk/program-viewmode.html.
Best regards,
Your Silverjuke-Team
Instead, the statement checks, if the coverview functionality should be present at all. The condition is false eg. if the user has deselected the option "Settings / Kiosk mode / Functionality / Cover view":
- coverview.gif (27.2 KiB) Viewed 2326 times
In this case, the layout may hide eg. a button that normally switches from album view to cover view.
To find out or to change the current view mode in a script, you can use the program.viewMode property, see http://www.silverjuke.net/sdk/program-viewmode.html.
Best regards,
Your Silverjuke-Team