Kodi Community Forum
[HELP] Possible for 2 homepages? - 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: PM3.HD (https://forum.kodi.tv/forumdisplay.php?fid=75)
+----- Thread: [HELP] Possible for 2 homepages? (/showthread.php?tid=49134)



[HELP] Possible for 2 homepages? - ekim232 - 2009-04-18

I have been working on a variation for a homepage, but I would like to have a setting button to let the user decide between mine or the original.

1. Is this possible? I know in settings it lets you choose your startup page, so I would believe so. However, I am having trouble finding the xml where this is coded.
2. If possible, what would be the best way to code. I was intially thinking having home.xml & home2.xml, but I am unsure of how to set the visible.

Any advice or help would be much appreciated. Thanks.


- Jezz_X - 2009-04-18

you can edit the skin.xml file and add bits to the default startup page like so from mc360
https://xboxmediacenter.svn.sourceforge.net/svnroot/xboxmediacenter/MC360/skin.xml

or you can always edit startup.xml to activate the new page depending on what condition is set


- ekim232 - 2009-04-18

After looking at both of them I have a few questions if you don't mind.

Can skin.xml accept a conditional like so...

<visible>Skin.HasSetting(Use_Homepage2)</visible>

It seems that startup.xml is more for programs, scripts, ect. rather than complete new windows. Am I off on this? If so, what would be an example control that could do what I am looking for?

Last, is there a way to edit what windows are available within settings>appearence>startup window?

Thanks for all your help Jezz, Your skin keeps me busyBig Grin


- Jezz_X - 2009-04-18

You need to look at that mc360 one I linked closer it uses uses custom windows to replace the startup windows selection in settings>appearence>startup
and know it doesn't take conditionals