| | #1 (permalink) |
| Portal Member | Hi, on the Basic Home screen, with Music highlighted, there are three buttons/tabs below - Last.fm, Current Playlist, Radio. I would like to change the 'Last.fm' tab to 'Play CD' so I don't have to delve into the music menu just to hit the 'Play CD' button/tab in there. I've looked at the xml file, played around in the last.fm 'area' of the file - didn't work ;-) Any help, tips, pointers, clearly detailed instructions would be most appreciated. Cheers for all the good work! |
| | |
| | #2 (permalink) |
| Portal Member | So you take BasicHome.xml Find <!-- Sub controls ***** And there you have controls. There are two fields you need to modify for each sublink: 1. <label> - in this you can type the name which shows up on button OR you can insert number for translated string 2. <hyperlink> - here you have to put correct ID for wanted action. There was a Wiki page which listed most common MP plugin ID's but I can't find it. You probably get a clue of correct ID by looking at Plugin on MP configuration. If you just rearrange buttons you can swap hyperlink-entries with labels to other positions. |
| | |
| | #3 (permalink) |
| Portal Member | Hi, yeah, this didn't work for me - it's what I tried originally (and again just now), doesn't work. Not sure what exactly you meant by Find '<!-- Sub controls *****'; I've taken the following section from basichome.xml <control> <description>Music submenu 1</description> <type>button</type> <id>606</id> <posX>284</posX> <posY>658</posY> <width>250</width> <height>40</height> <textalign>center</textalign> <textureFocus>subleft_focus.png</textureFocus> <textureNoFocus>subleft_nofocus.png</textureNoFocus> <visible>Control.HasFocus(3)|Control.HasFocus(33)| Control.HasFocus(606)|Control.HasFocus(607)|Contro l.HasFocus(611)</visible> <label>last fm radio</label> <hyperlink>7890</hyperlink> <font>font14</font> <textcolor>ffffffff</textcolor> <textcolorNoFocus>ffffffff</textcolorNoFocus> <textYOff>1</textYOff> <textXOff>40</textXOff> <onup>3</onup> <ondown>606</ondown> <onleft>606</onleft> <onright>607</onright> <animation effect="fade" time="300">Visible</animation> <animation effect="fade" time="400">WindowOpen</animation> <animation effect="fade" time="400">WindowClose</animation> </control> I've changed the label to 'Play CD' and the hyperlink to '890' (value taken from strings_en.xml) so the sections looks as follows <control> <description>Music submenu 1</description> <type>button</type> <id>606</id> <posX>284</posX> <posY>658</posY> <width>250</width> <height>40</height> <textalign>center</textalign> <textureFocus>subleft_focus.png</textureFocus> <textureNoFocus>subleft_nofocus.png</textureNoFocus> <visible>Control.HasFocus(3)|Control.HasFocus(33)| Control.HasFocus(606)|Control.HasFocus(607)|Contro l.HasFocus(611)</visible> <label>Play CD</label> <hyperlink>890</hyperlink> <font>font14</font> <textcolor>ffffffff</textcolor> <textcolorNoFocus>ffffffff</textcolorNoFocus> <textYOff>1</textYOff> <textXOff>40</textXOff> <onup>3</onup> <ondown>606</ondown> <onleft>606</onleft> <onright>607</onright> <animation effect="fade" time="300">Visible</animation> <animation effect="fade" time="400">WindowOpen</animation> <animation effect="fade" time="400">WindowClose</animation> </control> But nothing happens - when I use the remote to highlight 'Play CD' on the submenu, the screen flicks and resets basichome. I wonder if a 'Hyperlink' is what I want in there? 'Play CD' is more of an action to be taken rather than a page to be linked to. Also wondering about '<id>606</id>' - does this number need to be changed?? Any thoughts?? Cheers Last edited by Jeditrav; 2008-03-08 at 23:02. |
| | |
| | #4 (permalink) | ||
| Portal Member | Quote:
Quote:
<label>890</label> and it'll do the same thing. You still need to find correct ID for your function. I found one document but like you guessed already it doesn't work as it's a button you want to map. You can only open actual xml-pages via hyperlinks, not make actions placed on pages. Anyways I found the page I was referring before and here it is: MediaPortal1 Development/SkinArchitecture/window id - MediaPortal Wiki Documentation | ||
| | |
| | #5 (permalink) |
| Portal Member | I have managed to change the basichome buttons to other hyperlinks but the problem i am having is that i added a 3rd button to the video icon of the Foofaraw skin so it has my tv shows / trailers / videos (i changed the main icon to go to my films which works) but it will not let me select the new video button with the remote and i can use the mouse but it fades very fast.The link worked but i cant select it. to add this button i just copy/paste the trailer button info and changed the links. Am new to MP and new to xml any help would be great. I want to set up the homebasic screen with more buttons so i dont have to go to the hover screen. Thanks |
| | |
![]() |
| Bookmarks |
| Tags |
| basichome, buttons, change |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with basichome... | who? | Skins | 5 | 2007-12-21 05:37 |
| basichome as default | mts | MediaPortal 1 Talk | 1 | 2007-10-07 14:15 |
| Now/Next program on BasicHome screen | oopee | Skins | 0 | 2007-08-30 10:42 |
| Basichome Screen for BlueTwo | Harley | Skins | 16 | 2006-04-13 08:46 |
| Hover Image in BasicHome | Morph3us | Skins | 3 | 2006-02-11 20:24 |