How to add a menu item
#1
So I would like to add a menu item to the skin, Ideally I would like to be able to link to Rom Collection Manager, much like you can in a number of other skins.
Reply
#2
You can try one of the ConfluenceMODs that can add a favorite to the the home screen, or you can manually add a button to it, by editing Home.xml...
Down in list 9000 you can enter the following:

PHP Code:
<item id="666">
    <
label>Games</label>
    <
onclick>RunAddon(YOUR_ADDONID_HERE)</onclick>
    <
icon>special://skin/backgrounds/WHATEVERYOULIKE.jpg</icon>
</item

mad-max
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#3
This info is great (thank you), but I have 2 problems:
I have created menu item "TEST", but how do I direct it to specific folder on my computer?

I have only Videos in my library (without using scrappers)
Normally, when I click "Videos" - I can select folder "CARTOONS", "MOVIES", "SERIES"
Now I want to create 3 menus: CARTOONS, MOVIES, SERIES witch will take me directly to coresponding folders in my library

I have successfuly created menu called "TEST" with this code:
<item id="666">
<label>TEST</label>
<onclick>ActivateWindow(? ? ? ? ? ?)</onclick> - If i write here ActivateWindow(Videos,Files) - it will show me my folders: CARTOONS, MOVIES and SERIES, but I want to skip that step and go directly to, lets say CARTOONS
<icon>-</icon>
<thumb>-</thumb>
</item>


And the second question is: How do I place my TEST menu on, lets say second place in menu bar?
Thank you in advance Smile
Reply

Logout Mark Read Team Forum Stats Members Help
How to add a menu item0