Forum Discussion

dynamitemedia's avatar
dynamitemedia
Binge Watcher
15 years ago

making a poster item non selectable if

finally the last component in this channel!! i got the search working BUT one thing i dont like.

if there are no search results i have a "no results" image on the poster screen.

how can i keep this from being clicked on and the viewer is brought to the springboards, and empty one obviously.

i have the xml coming back almost empty besides this image, maybe is it possible to set it up so if it doesnt send back a certain variable it wont be selectable?

i will piddle thru the code to see but was wondering if anyone else has done something like this

3 Replies

  • Just check it on the isListItemSelected() event and don't run the springboard code if it's your "no results" item.
  • thanks endless but for some reason it didnt work that way for me but after printing and printing i found where it was...

    now this could be cause i did some changes in the search screen that it wouldnt work as you described but what i did was on the spring board screen i added this

    vidTitle = showList[showIndex].Title

    if vidTitle = "No Results Found" then
    print "Don't show Springboard because vid Title = "; vidTitle
    return -1
    end if


    hope that helps someone...
  • auzy's avatar
    auzy
    Binge Watcher
    I concur, I took a similar approach - well done.