home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1149910" data-attributes="member: 48495"><p>To the proposed way over dynamic resources:</p><p></p><p>First there are already examples for this way: there is a placeholder for alternative footer content: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/master_bare.xaml#L214-L218" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/master_bare.xaml#L214-L218</a>.</p><p>This resource of this placeholder can be defined in screens that base on master_bare (in fact all): <a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/ApolloOne/Skin/ApolloOne/screens/SimpleShowItems.xaml#L54-L56" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/ApolloOne/Skin/ApolloOne/screens/SimpleShowItems.xaml#L54-L56</a>.</p><p></p><p>For the button this means:</p><p>1) Add a new placeholder into master_bare:</p><p><Control x:Name="MenuButtonPlaceholder" HorizontalAlignment="Stretch" Template="{DynamicResource ResourceKey=Menu_Button_Placeholder}"> </Control></p><p>2) In master_menu then define this resource:</p><p><ControlTemplate x:Key="Menu_Button_Placeholder"> <!-- put button here--> </ControlTemplate></p><p>3) In home you won't see a button, because it uses <a href="https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/master_homemenu.xaml" target="_blank">master_homemenu</a></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1149910, member: 48495"] To the proposed way over dynamic resources: First there are already examples for this way: there is a placeholder for alternative footer content: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/master_bare.xaml#L214-L218[/URL]. This resource of this placeholder can be defined in screens that base on master_bare (in fact all): [URL]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Incubator/ApolloOne/Skin/ApolloOne/screens/SimpleShowItems.xaml#L54-L56[/URL]. For the button this means: 1) Add a new placeholder into master_bare: <Control x:Name="MenuButtonPlaceholder" HorizontalAlignment="Stretch" Template="{DynamicResource ResourceKey=Menu_Button_Placeholder}"> </Control> 2) In master_menu then define this resource: <ControlTemplate x:Key="Menu_Button_Placeholder"> <!-- put button here--> </ControlTemplate> 3) In home you won't see a button, because it uses [URL='https://github.com/MediaPortal/MediaPortal-2/blob/dev/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/master_homemenu.xaml']master_homemenu[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom