Change and remove items from Basichome

Discussion in 'Black & White 1080p' started by aj1405, August 27, 2008.

  1. aj1405

    aj1405 Portal Pro

    Joined:
    September 30, 2007
    Messages:
    443
    Likes Received:
    151
    Gender:
    Male
    Ratings:
    +154 / 0
    Home Country:
    Norway Norway
    Change and remove items from Basichome

    The Basichome file is located here:
    ....\Skin\Black & White 1080\BasicHome.xml

    Remember to take a backup before you start modifying this file.
    To edit it you have to open this file in a text editor. For example: Notepad. Word and similar programs are not recommended.

    Each item on the Basichome page consists of four values: Hyperlink, icon, label and hover.

    Hyperlink
    The value is used to forward the user to the corresponding plug-in.

    Icon
    This is the icon in the middle of the item.

    Label
    This is the text label beneath the icon.

    Hover
    This is the large image on the right side, which fades in an out when you select an item.

    How to change an item:

    Each item consists of four lines; One for each value.

    For example item 1:

    <define>#item1hyperlink:1</define>
    <define>#item1icon:basichome_tv.png</define>
    <define>#item1label:605</define>
    <define>#item1hover:hover_my tv.png</define>

    You’ll need to replace the red text with the corresponding values for the plugin you wish to change it to. For a list of supported values:
    https://forum.team-mediaportal.com/black-white-1080p-286/plugins-native-mediaportal-plugins-supported-black-white-1080-a-76528/
    https://forum.team-mediaportal.com/black-white-1080p-286/plugins-supported-black-white-1080-a-76531/
    https://forum.team-mediaportal.com/black-white-1080p-286/plugins-not-natively-supported-black-white-1080-a-76534/



    How to remove an item:

    Replace hyperlink with “35” and the three other values with “-”

    <define>#item8hyperlink:35</define>
    <define>#item8icon:-</define>
    <define>#item8label:-</define>
    <define>#item8hover:-</define>
     
    • Like Like x 4
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. aj1405

    aj1405 Portal Pro

    Joined:
    September 30, 2007
    Messages:
    443
    Likes Received:
    151
    Gender:
    Male
    Ratings:
    +154 / 0
    Home Country:
    Norway Norway
    Values for supported plugins

    ---
     
    • Like Like x 3
  4. aj1405

    aj1405 Portal Pro

    Joined:
    September 30, 2007
    Messages:
    443
    Likes Received:
    151
    Gender:
    Male
    Ratings:
    +154 / 0
    Home Country:
    Norway Norway
    ---
     
    • Like Like x 2
  5. Paranoid Delusion
    • Premium Supporter

    Paranoid Delusion Moderation Manager

    Joined:
    June 13, 2005
    Messages:
    13,062
    Likes Received:
    1,481
    Gender:
    Male
    Occupation:
    Electrical Engineer
    Location:
    Cheshire
    Ratings:
    +1,482 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Just a quick thanks for the tutorial

    Cheers
     
  6. papas
    • Premium Supporter

    papas MP Donator

    Joined:
    August 21, 2006
    Messages:
    232
    Likes Received:
    6
    Occupation:
    web developer
    Location:
    Nicosia
    Ratings:
    +6 / 0
    Home Country:
    Cyprus Cyprus
    indeed cheers for the tutorial.

    lets hope some people will start posting there basichome.xml along with the icons etc.

    cheers again
     
  7. Nemulate

    Nemulate Portal Pro

    Joined:
    December 29, 2005
    Messages:
    607
    Likes Received:
    9
    Gender:
    Male
    Occupation:
    IT Manager
    Location:
    IOW
    Ratings:
    +9 / 0
    Home Country:
    England England
    Hi,

    does this turorial still work as my basichome looks all wrong now :( I did copy back the media files but still not working! But still happy with the skin and all your hard work :)
     
  8. 2BitSculptor
    • Team MediaPortal

    2BitSculptor Super Moderator

    Joined:
    January 23, 2008
    Messages:
    1,833
    Likes Received:
    300
    Occupation:
    Sculptor - Maquettes, Resin Figure Model Kits, Toy
    Location:
    South Central Wisconsin
    Ratings:
    +396 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    I'm finding XML Notepad handy at adjusting and moving XML around.... Makes it easy enough, even for me, to shuffle through the skin files to find and change things the way I want.

    XML Notepad download page

    Chuck
     
  9. aj1405

    aj1405 Portal Pro

    Joined:
    September 30, 2007
    Messages:
    443
    Likes Received:
    151
    Gender:
    Male
    Ratings:
    +154 / 0
    Home Country:
    Norway Norway
    If you get some white text on the top of the screen displaying, #location and #temp. You need download the latest version 0.6 R2. Version 0.6 had a bug, so I release v0.6 R2 just an hour later to fix this problem.

    The only change in basichome xml v0.6+ from previous versions is 2 new lines to support RSS ticker and weather. Maybe you can attach a screenshot?
     
  10. VashStampede

    VashStampede Portal Member

    Joined:
    August 16, 2008
    Messages:
    44
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Thanks! It's a good and clear tutorial (so far only removed some items, but adding must be just as easy :))
     
  11. revs
    • Premium Supporter

    revs MP Donator

    Joined:
    February 1, 2007
    Messages:
    1,274
    Likes Received:
    72
    Occupation:
    Software Developer
    Location:
    The Sauce of Worcester
    Ratings:
    +72 / 0
    Home Country:
    Wales Wales
    A tip - you need to have the basichome_* folder for every icon on screen - otherwise thins go wierd! (trust me, i spent 30min trying to figure out what was wrong!)
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!