Problem with views
#1
Guys i have this in MyVideoNav :

PHP Code:
<views>50,51,52,53,54,55,56,57,58,59</views

and all views are separated like this

Code:
<control type="group">
        <visible>Control.IsVisible(57)</visible>
                .............all view related code goes here.....
</control>

and I'm trying to add a view as

Code:
<views>50,51,52,53,54,55,56,57,58,59[b],501[/b]</views>

and

Code:
<include>View_50_List</include>
        <include>View_51</include>
        <include>View_52</include>
        <include>View_53</include>
        <include>View_54</include>
        <include>View_55</include>
        <include>View_56</include>
        <include>View_57</include>
        <include>View_58</include>
        <include>View_59</include>
               [b]<include>View_501</include>[/b]

But when I do so, views get mixed - as there are 2 or more views active at the same time.

What am I missing? Is there a 10 views limit?
My skins:

Amber
Quartz

Reply
#2
Does this silence mean that it should work?
My skins:

Amber
Quartz

Reply
#3
Yes it should work but you haven't given anywhere near enough information for anyone to offer a solution even a screenshot or 2 would do. But its most likely some visible condition or control ID wrong you have
Reply
#4
Just because I haven't got an idea what to offer. I had a look at Confluence and seen you mainly use 507 508 instead of 57 and 58 but thought that's just your choice.

I'll double check code and report back. Thanks.
My skins:

Amber
Quartz

Reply
#5
Like Jezz_X said it must be visible condition or control ID i have had this problem a few times
Reply
#6
It is just my choice they can be anything you want as long as they don't clash with other controls and also if you have a number in <views></views> that doesn't actually exist it will error
Reply
#7
Might be a silly question but have you given the new view list the proper ID?
Reply
#8
Hitcher Wrote:Might be a silly question but have you given the new view list the proper ID?

Yup, ID is assigned but as others said it collided with button that was using the same ID.

Includes - heaven and hell :-)


Thank you all for help.
My skins:

Amber
Quartz

Reply

Logout Mark Read Team Forum Stats Members Help
Problem with views0