New Skinner Question- "View As" Issues
#1
Question 
Hey guys,

I have been trying my hand at skinning lately and am building a skin from Foundation. Unfortunately, I seem to have a very odd issue when it comes to MyVideoNav.xml. In this xml file for some reason button ID 2 (the View as button) will not cycle through the views. The code for the button is taken right out of Foundation-

Code:
<control type="button" id="2">
    <description>View</description>
    <textwidth>240</textwidth>
    <align>left</align>
    <label>-</label>
</control>

and as I add new views when I click this button nothing happens (it stays on the 50 List view). Thinking that most likely I was somehow not building views properly, I copied the View_50_List.xml and created View_50_List2.xml with the same code but the references to id=50 being changed to id=51 and changing the include name to View_50_List2. I then added the include for the new file in Includes.xml and the include and view 51 to MyVideoNav.xml. For some reason I still can't cycle these two views (they are the only two.

I know the new view (View_50_List2.xml) is being loaded because if I add an overlay outside of id=51 but inside <include name="View_50_List2"> in View_50_List2.xml the overlay shows up on the other view.

Any thoughts as to what I am missing?

Thanks!
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
#2
Have you also added the new view's id to the <views>50</views> tag at the top of MyVideoNav.xml?
Reply
#3
Yes, I have. below is a snipet of the top of my MyNavVideo code-

Code:
<window id="6">
    <defaultcontrol always="true">50</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <views>50,51,56</views>
    <controls>
        <include>GlobalBackground</include>
        <control type="group">
            <include>View_50_List</include> <!-- ID 50 -->
            <include>View_50_List2</include> <!-- ID 51 -->
            <include>Viewtype_Panel_Genre</include> <!-- ID 56 -->
        </control>

bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
#4
If you want to upload the whole skin somewhere I can check it for you.
Reply
#5
PM sent with the file location.

Thanks for all the help!
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
#6
Found the problem - the top left bar image has the same ID (2) as the 'View As' button. Just remove the id altogether and it's sorted.
Reply
#7
Wow, thanks! that did it!
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply

Logout Mark Read Team Forum Stats Members Help
New Skinner Question- "View As" Issues0