Kodi Community Forum
Alaska Revisited: Change Button - 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: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Alaska (https://forum.kodi.tv/forumdisplay.php?fid=126)
+----- Thread: Alaska Revisited: Change Button (/showthread.php?tid=79956)



Alaska Revisited: Change Button - boimel - 2010-08-30

Hello XBMC people,
Am using Alaska Revisited skin now I want to change the function of a button. I want to change the "Pictures" button into a button wich opens the YouTube plugin. So I opened the "Includes_HomeDefault.xml" to line 93 and changed the onclick action to ActivateWindow(Plugins,Video,YouTube), I dunno the correct syntax but this defenelty does not work, so whats right?

Thanks.


- >>X<< - 2010-08-30

Put the Youtube plugin in your favourites then look in your favourites.xml and your find the correct code


- boimel - 2010-08-30

Thanks. How do i put the plugin into my favourites?


- Hitcher - 2010-08-30

Bring up the Context menu and select 'Add to favourites'.


- boimel - 2010-08-30

Cool, works now: ActivateWindow(10024,plugin://video/YouTube/)

Thank you


- boimel - 2010-08-30

Whats the right *.xml file to change the name from Pictures into YouTube. Is it just the string.xml in English folder?


- Hitcher - 2010-08-30

Most strings are from the XBMC's default set -

https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/language/English/strings.xml

So 'Pictures' will be <label>1</label>


- boimel - 2010-08-31

Thanks, but if I change this i don't have the word pictures anymore, right? Anywhere wich stands "Pictures" now will be changed to "YouTube"? I just wanna have this at my Home Screen...


- Hitcher - 2010-08-31

Well you just look for that label in the Home.xml or Includes_(homestyle).xml and see which one works.


- boimel - 2010-08-31

ok, works now, thx =)