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
Popular Skins
Graveyard
Monochrome
Monochrome (for those who like dark skins), updated...
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="GetaGrip" data-source="post: 233180" data-attributes="member: 66571"><p>Well that's a lot simpler, see this code[you will have it on every beginning of the code] example MusicMenu.XML</p><p></p><p><?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p><span style="color: Red"><id>8888</id></span></p><p><defaultcontrol>5</defaultcontrol></p><p><allowoverlay>yes</allowoverlay></p><p><disabletopbar>no</disabletopbar></p><p><controls></p><p><import>common.time.xml</import></p><p><control></p><p><description>BG</description></p><p><type>image</type></p><p></p><p>etc, etc...</p><p></p><p>That's the ID for MusicMenu, so in other words Musicmenu is reference nr 8888</p><p></p><p>So when we open Mypixs.xml we see this:</p><p></p><p><?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> <span style="color: Red"><id>2</id></span></p><p> <defaultcontrol>2</defaultcontrol></p><p> <allowoverlay>yes</allowoverlay></p><p> <define>#header.label:1</define></p><p> <define>#header.image<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />ictures_logo.png</define></p><p> <define>#header.hover:hover_my pictures.png</define></p><p> <controls></p><p></p><p>So let's say that you want replace lastFM with Mypics in the musicmenu.xml</p><p>Then we see this piece of code in musicmenu.xml</p><p></p><p><control></p><p><span style="color: Red"><description>Last.fm Button</description></span></p><p><type>button</type></p><p><id>4</id></p><p><posX>53</posX></p><p><posY>305</posY></p><p><width>253</width></p><p><height>166</height></p><p><textureFocus>Basic_button_highlight.png</textureFocus></p><p><textureNoFocus>-</textureNoFocus></p><p><span style="color: Red"><hyperlink>7890</hyperlink></span></p><p><label>107890</label></p><p><textcolor>00ffffff</textcolor></p><p><textcolorNoFocus>00ffffff</textcolorNoFocus></p><p><onleft>3</onleft></p><p><onright>5</onright></p><p><onup>21</onup></p><p><ondown>99</ondown></p><p></control></p><p><control></p><p></p><p><strong><description>Last.fm Button</description></strong> is the beginning of what a action must do en where to go.</p><p>There you will find <hyperlink>7890</hyperlink>, heeeeee that's the number of MyradioLastFM.xml</p><p>and mypics.xml starts with a <id>2</id>, so replace 7890 with 2 and when you press the button, it will go to Mypics.</p><p></p><p>Pfffft.... It's really not a fun telling story when you mess up the code yourself<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /> but I hope it's clear.</p><p></p><p>Just when you're in playful mood, backup the file and start changing parameters and see whats happening.... so much fun!</p><p></p><p>Regards, GetaGrip</p></blockquote><p></p>
[QUOTE="GetaGrip, post: 233180, member: 66571"] Well that's a lot simpler, see this code[you will have it on every beginning of the code] example MusicMenu.XML <?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> [COLOR="Red"]<id>8888</id>[/COLOR] <defaultcontrol>5</defaultcontrol> <allowoverlay>yes</allowoverlay> <disabletopbar>no</disabletopbar> <controls> <import>common.time.xml</import> <control> <description>BG</description> <type>image</type> etc, etc... That's the ID for MusicMenu, so in other words Musicmenu is reference nr 8888 So when we open Mypixs.xml we see this: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> [COLOR="Red"]<id>2</id>[/COLOR] <defaultcontrol>2</defaultcontrol> <allowoverlay>yes</allowoverlay> <define>#header.label:1</define> <define>#header.image:pictures_logo.png</define> <define>#header.hover:hover_my pictures.png</define> <controls> So let's say that you want replace lastFM with Mypics in the musicmenu.xml Then we see this piece of code in musicmenu.xml <control> [COLOR="Red"]<description>Last.fm Button</description>[/COLOR] <type>button</type> <id>4</id> <posX>53</posX> <posY>305</posY> <width>253</width> <height>166</height> <textureFocus>Basic_button_highlight.png</textureFocus> <textureNoFocus>-</textureNoFocus> [COLOR="Red"]<hyperlink>7890</hyperlink>[/COLOR] <label>107890</label> <textcolor>00ffffff</textcolor> <textcolorNoFocus>00ffffff</textcolorNoFocus> <onleft>3</onleft> <onright>5</onright> <onup>21</onup> <ondown>99</ondown> </control> <control> [B]<description>Last.fm Button</description>[/B] is the beginning of what a action must do en where to go. There you will find <hyperlink>7890</hyperlink>, heeeeee that's the number of MyradioLastFM.xml and mypics.xml starts with a <id>2</id>, so replace 7890 with 2 and when you press the button, it will go to Mypics. Pfffft.... It's really not a fun telling story when you mess up the code yourself:ooops: but I hope it's clear. Just when you're in playful mood, backup the file and start changing parameters and see whats happening.... so much fun! Regards, GetaGrip [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
Graveyard
Monochrome
Monochrome (for those who like dark skins), updated...
Contact us
RSS
Top
Bottom