Is it possible for fallback image in home screen menu
#1
Recently I had the background for Music on the Home screen set to Multi Image which worked great. However the images in the folder were deleted by mistake and the home screen reverted to a black screen. Obvious huh!

In the below std Confluence menu item is there a different way of doing it so that the background would revert to the $icon if the $thumb path existed, but had no content?

Code:
<item id="3">
     <label>2</label>
     <onclick>ActivateWindow(Music)</onclick>
     <icon>special://skin/backgrounds/music.jpg</icon>
     <thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
     <visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
</item>

This is not a crisis, just thought I may learn something new. Cheers.
Noli illegitimi carborundum


Reply
#2
Not really the issue is more up in this bit at the top of home
PHP Code:
        <control type="multiimage">
            <
posx>0</posx>
            <
posy>0</posy>
            <
width>1280</width>
            <
height>720</height>
            <
imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
            <
timeperimage>8000</timeperimage>
            <
randomize>true</randomize>
            <
fadetime>1000</fadetime>
        </
control

and the fact that even though the images do not exist the $INFO[Container(9000).ListItem.Icon] part is not empty as it still has the correct path in it
Reply
#3
Okay Thanks. Pretty Much what I thought.
Noli illegitimi carborundum


Reply

Logout Mark Read Team Forum Stats Members Help
Is it possible for fallback image in home screen menu0