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
Plugin Development
understand the way a plugin could be written
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: 782023" data-attributes="member: 48495"><p><strong>AW: Re: MP2 development - almost alpha state</strong></p><p></p><p></p><p></p><p>The navigation uses so called "WorkflowStates". Such a state basically contains an ID, the name of a Screen (xaml) and a Model (cs). They can be defined inside the skin: i.e. look into SlimTvClient\Skin\default\workflow\SlimTvClient-states.xml.</p><p></p><p>The next step is to define the different navigation "step" between the different WorkFlowStates. i.e.<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />limTvClient\Skin\default\workflow\SlimTvClient-actions.xml:</p><p>[CODE] <MenuActions></p><p> <PushNavigationTransition Id="B4A9199F-6DD4-4bda-A077-DE9C081F7703"</p><p> Name="Home->SlimTvClient"</p><p> DisplayCategory="A-SlimTvClient"</p><p> SortOrder="a"</p><p> SourceState="7F702D9C-F2DD-42da-9ED8-0BA92F07787F"</p><p> TargetState="C7646667-5E63-48c7-A490-A58AC9518CFA"</p><p> DisplayTitle="SlimTvClient"/></p><p>...</p><p>[/CODE]</p><p></p><p>This way you can easily add an Action to the main menu, if you define the SourceState guid to the home screen, and the TargetState to your own defined WorkFlowState.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 782023, member: 48495"] [b]AW: Re: MP2 development - almost alpha state[/b] The navigation uses so called "WorkflowStates". Such a state basically contains an ID, the name of a Screen (xaml) and a Model (cs). They can be defined inside the skin: i.e. look into SlimTvClient\Skin\default\workflow\SlimTvClient-states.xml. The next step is to define the different navigation "step" between the different WorkFlowStates. i.e.:SlimTvClient\Skin\default\workflow\SlimTvClient-actions.xml: [CODE] <MenuActions> <PushNavigationTransition Id="B4A9199F-6DD4-4bda-A077-DE9C081F7703" Name="Home->SlimTvClient" DisplayCategory="A-SlimTvClient" SortOrder="a" SourceState="7F702D9C-F2DD-42da-9ED8-0BA92F07787F" TargetState="C7646667-5E63-48c7-A490-A58AC9518CFA" DisplayTitle="SlimTvClient"/> ... [/CODE] This way you can easily add an Action to the main menu, if you define the SourceState guid to the home screen, and the TargetState to your own defined WorkFlowState. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
understand the way a plugin could be written
Contact us
RSS
Top
Bottom