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 1
MediaPortal 1 Skins
How does the Basic Home Menu Editor in DefaultWideHD work?
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="catavolt" data-source="post: 1162038" data-attributes="member: 54906"><p>Hi Chuck, in general it´s easy:</p><p>All xmls named <strong><em>BasicHomeEditor.blabla.xml</em></strong> are the files needed.</p><p>Here a short explanation of all the relevant files:</p><ul> <li data-xf-list-type="ul"><em><strong>BasicHomeEditorDefines.xml</strong></em>: Here are all plugins listed with their (translated) names, their hyperlinks, their hover images etc. Here you may change labels or add plugins<br /> </li> <li data-xf-list-type="ul"><em><strong>BasicHomeEditor.xml</strong></em>: The GUI for cofiguring the items to be shown in main menus and submenus as well as the desired layout. This you may adapt to your needs regarding fonts, button textures etc.<br /> </li> <li data-xf-list-type="ul"><em><strong>BasicHomeEditor.main.calc.xml </strong></em>and <em><strong>BasicHomeEditor.sub.calc.xml</strong></em>: Here is the logic (calculation) for the placement of the items in main menus and submenus. <u><span style="color: #ff0000"><strong>These files must not be changed!</strong></span></u><br /> </li> <li data-xf-list-type="ul"><em><strong>BasicHomeEditor.main.Carousel.xml </strong></em>and <em><strong>BasicHomeEditor.sub.Carousel.xml</strong></em> have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Carousel layout - may be adapted to your needs<br /> </li> <li data-xf-list-type="ul"><em><strong>BasicHomeEditor.main.horz.xml </strong></em> and <em><strong>BasicHomeEditor.sub.horz.xml</strong></em> have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Horizontal (scroll) layout - may be adapted to your needs<br /> </li> <li data-xf-list-type="ul"><em><strong>BasicHomeEditor.main.text.xml </strong></em> and <em><strong>BasicHomeEditor.sub.text.xml</strong></em> have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Horizontal Text only layout - may be adapted to your needs</li> </ul><p>In <u><strong>BasicHome.xml</strong></u> these xmls are referenced like this:</p><p>[code]<include>BasicHomeEditor.main.calc.xml</include></p><p> <include>BasicHomeEditor.sub.calc.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Carousel'))">BasicHomeEditor.main.Carousel.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Carousel'))">BasicHomeEditor.sub.Carousel.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Horizontal (scroll)'))">BasicHomeEditor.main.horz.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Horizontal (scroll)'))">BasicHomeEditor.sub.horz.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeEditor.main.text.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeEditor.sub.text.xml</include></p><p> <include condition="#(neq(#hedit.mode,'Horizontal Text only'))">BasicHomeInfoRecentlyAdded.xml</include></p><p> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeInfoRecentlyAddedText.xml</include></p><p> <import>BasicHomeEditorDefines.xml</import>[/code]</p><p></p><p>In <em><strong>settings_GUI_Skin.xml</strong></em> the BasicHomeEditor files are referenced like this:</p><p>[code]<import>BasicHomeEditor.xml</import></p><p> <import>BasicHomeEditorDefines.xml</import>[/code]</p><p></p><p>All <strong><em>BasicHomeEditor.blabla.xml</em></strong> have short inline documentation in their code so you may get sufficient information about how the magic works.</p><p>You will note that I make extensive use of skin expressions, so the BasicHomeEditor is also a great example of how to use those.</p><p></p><p>Additionally to the relevant files above are the two xmls for LMH: <em><strong>BasicHomeInfoRecentlyAdded.xml and BasicHomeInfoRecentlyAddedText.xml</strong></em> providing the lastest media information for BasicHome.</p><p></p><p>Now it´s your turn!</p><p>Dive into the BasicHome Editor world and have fun <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="catavolt, post: 1162038, member: 54906"] Hi Chuck, in general it´s easy: All xmls named [B][I]BasicHomeEditor.blabla.xml[/I][/B] are the files needed. Here a short explanation of all the relevant files: [LIST] [*][I][B]BasicHomeEditorDefines.xml[/B][/I]: Here are all plugins listed with their (translated) names, their hyperlinks, their hover images etc. Here you may change labels or add plugins [*][I][B]BasicHomeEditor.xml[/B][/I]: The GUI for cofiguring the items to be shown in main menus and submenus as well as the desired layout. This you may adapt to your needs regarding fonts, button textures etc. [*][I][B]BasicHomeEditor.main.calc.xml [/B][/I]and [I][B]BasicHomeEditor.sub.calc.xml[/B][/I]: Here is the logic (calculation) for the placement of the items in main menus and submenus. [U][COLOR=#ff0000][B]These files must not be changed![/B][/COLOR][/U] [*][I][B]BasicHomeEditor.main.Carousel.xml [/B][/I]and [I][B]BasicHomeEditor.sub.Carousel.xml[/B][/I] have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Carousel layout - may be adapted to your needs [*][I][B]BasicHomeEditor.main.horz.xml [/B][/I] and [I][B]BasicHomeEditor.sub.horz.xml[/B][/I] have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Horizontal (scroll) layout - may be adapted to your needs [*][I][B]BasicHomeEditor.main.text.xml [/B][/I] and [I][B]BasicHomeEditor.sub.text.xml[/B][/I] have the layout for the items to be shown on BasicHome with their animation, width, height, position etc. for the Horizontal Text only layout - may be adapted to your needs [/LIST] In [U][B]BasicHome.xml[/B][/U] these xmls are referenced like this: [code]<include>BasicHomeEditor.main.calc.xml</include> <include>BasicHomeEditor.sub.calc.xml</include> <include condition="#(eq(#hedit.mode,'Carousel'))">BasicHomeEditor.main.Carousel.xml</include> <include condition="#(eq(#hedit.mode,'Carousel'))">BasicHomeEditor.sub.Carousel.xml</include> <include condition="#(eq(#hedit.mode,'Horizontal (scroll)'))">BasicHomeEditor.main.horz.xml</include> <include condition="#(eq(#hedit.mode,'Horizontal (scroll)'))">BasicHomeEditor.sub.horz.xml</include> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeEditor.main.text.xml</include> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeEditor.sub.text.xml</include> <include condition="#(neq(#hedit.mode,'Horizontal Text only'))">BasicHomeInfoRecentlyAdded.xml</include> <include condition="#(eq(#hedit.mode,'Horizontal Text only'))">BasicHomeInfoRecentlyAddedText.xml</include> <import>BasicHomeEditorDefines.xml</import>[/code] In [I][B]settings_GUI_Skin.xml[/B][/I] the BasicHomeEditor files are referenced like this: [code]<import>BasicHomeEditor.xml</import> <import>BasicHomeEditorDefines.xml</import>[/code] All [B][I]BasicHomeEditor.blabla.xml[/I][/B] have short inline documentation in their code so you may get sufficient information about how the magic works. You will note that I make extensive use of skin expressions, so the BasicHomeEditor is also a great example of how to use those. Additionally to the relevant files above are the two xmls for LMH: [I][B]BasicHomeInfoRecentlyAdded.xml and BasicHomeInfoRecentlyAddedText.xml[/B][/I] providing the lastest media information for BasicHome. Now it´s your turn! Dive into the BasicHome Editor world and have fun :D ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
How does the Basic Home Menu Editor in DefaultWideHD work?
Contact us
RSS
Top
Bottom