- Thread starter
- Admin
- #11
If I understood you correctly I did so. I'm only working in the Bluevision skin folder of OV2 plugin.I think this is the reason why skin files needs to be placed inside the plugin which has the code:
If you put in an assembly reference this way, the lookup considers all loaded assemblies. Of course BlueVision doesn't have (and must not have) any direct depency to another plugin.
Could you try to place your modified skin files under OV2 plugin first to see if they are working from this location?
In ovsSiteMangement.xaml there is this code (and I see the logo in the options view):
HTML:
<Image DockPanel.Dock="Right" Stretch="Uniform" VerticalAlignment="Top"
Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/>
I tried to copy exactly the same code to sites.xaml and it does not show a logo. I considered the resources as you see below in the complete code of sites.xaml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<Include
xmlns="www.team-mediaportal.com/2008/mpf/directx"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ovs="clr-namespace:OnlineVideos.MediaPortal2;assembly=OnlineVideos.MediaPortal2"
Source="screens\master_bare.xaml">
<Include.Resources>
<Model x:Key="OnlineVideosModel" Id="C418243F-5BD3-4637-8871-DA6545387929"/>
<ovs:SiteUtilIconConverter x:Key="ovsSiteUtilIconConverter"/>
<!-- Contents -->
<ControlTemplate x:Key="Client_Template">
<DockPanel DataContext="{Binding Source={StaticResource OnlineVideosModel}}" LastChildFill="true">
<ListView x:Name="siteslist" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DockPanel.Dock="Center"
Style="{ThemeResource ovsSitesListViewStyle}" Margin="-30, 0,-45,-5"
CurrentItem="{Binding Path=FocusedSite, Mode=OneWayToSource}"
ItemsSource="{Binding Path=SitesList}" SetFocusPrio="RestoreState"/>
<StackPanel Orientation="Vertical" DockPanel.Dock="Center" VerticalAlignment="Bottom" Margin="0,625,0,-625" >
<Image Stretch="Uniform" VerticalAlignment="Top"
Source="{Binding ElementName=siteslist, Path=CurrentItem, Converter={ThemeResource ovsSiteUtilIconConverter}}"/>
<Label Color="{ThemeResource TextColor}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
DataContext="{Binding ElementName=siteslist,Path=CurrentItem}" Content="{Binding Path=Name}" />
<Label Color="{ThemeResource TextColor}" Opacity="0.6"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Wrap="True" Scroll="Auto"
DataContext="{Binding ElementName=siteslist,Path=CurrentItem}"
Content="{Binding Description}" />
</StackPanel>
</DockPanel>
</ControlTemplate>
</Include.Resources>
</Include>