2014-06-12, 10:52
Hello, I need your help
Here is the code of the parameters of a view
There are 4 types of views on the same category (thumbnails )
Big Grid, Small, Small Atl and Original
into .Xml view (view_icon.xml) about coding and 57/571/573/576.
I fail to understand and display a view. When I put the "!" To 57 of 576 , the view 571 no longer displays and so on.
I do not understand exactly what is the "!" Represents what? "!" = True? "!" = False?
Can you tell me where there is an error in the coding of the view! thank you
Cheers
Here is the code of the parameters of a view
There are 4 types of views on the same category (thumbnails )
Big Grid, Small, Small Atl and Original
into .Xml view (view_icon.xml) about coding and 57/571/573/576.
I fail to understand and display a view. When I put the "!" To 57 of 576 , the view 571 no longer displays and so on.
I do not understand exactly what is the "!" Represents what? "!" = True? "!" = False?
Can you tell me where there is an error in the coding of the view! thank you
Cheers
PHP Code:
<!--thumbnails: large grid / small /Small Alt / Small Original-->
<control type="button" id="114">
<label>$VAR[view_Layout]</label>
<onclick condition="Control.IsVisible(57) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(571)</onclick>
<onclick condition="Control.IsVisible(571) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(57)</onclick>
<onclick condition="Control.IsVisible(57) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(573)</onclick>
<onclick condition="Control.IsVisible(573) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(57)</onclick>
<onclick condition="!Control.IsVisible(57) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(576)</onclick>
<onclick condition="Control.IsVisible(576) + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets)]">Container.SetViewMode(57)</onclick>
<onclick condition="Control.IsVisible(572) + Container.Content(addons)">Container.SetViewMode(574)</onclick>
<onclick condition="Control.IsVisible(574) + Container.Content(addons)">Container.SetViewMode(572)</onclick>
<include>menu_Button</include>
<visible>[Control.IsVisible(57) | Control.IsVisible(571) | Control.IsVisible(572) | Control.IsVisible(573) | Control.IsVisible(574) | Control.IsVisible(576)] + [Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets) | Container.Content(addons)]</visible>
</control>