Kodi Community Forum
Were can I find information for id predefined? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Were can I find information for id predefined? (/showthread.php?tid=198022)



Were can I find information for id predefined? - xbmclogan - 2014-06-16

Hi,

I'm starting skin for me. But I am confused about id. For example, I want add new menu on home menu bar.
And I need to define the id for new menu item on the bar without conflicting existing one.

In WiKi tutorial, there is a example (http://wiki.xbmc.org/index.php?title=HOW-TO:Edit_the_home_screen_skin_files)
It is saying id="7" for weather. But in Window ID link(http://wiki.xbmc.org/index.php?title=Window_IDs) linked in that page is saying the "7" is for system info. FYI, I'm studying with Frodo of which home.xml saying "7" for weather.

1. Were can I find information for id predefined?
2. Also where can I find the predefined label of the menu (i.e Weather, Video, Music, Programs.. on the menu bar)?

thanks
Logan


RE: Were can I find information for id predefined? - jmarshall - 2014-06-16

The id "7" you're referring to is the id of the item in the list. That's unrelated to the window ID.

See IncludesHomeMenu.xml or thereabouts.


RE: Were can I find information for id predefined? - xbmclogan - 2014-06-17

Thank you for clearance about id.
I was just confused due to the link of Window ID in that page. Anyway Now cleared.

And I finally found that the label of main menu is in string.po.
In fact, I had searched the string.xml file which don't exist in default build. Anyway I found those main menu strings are in string.po file.

thanks
Logan