Focus (an XBMC Media Center skin) discussion thread
MikeBeecham Wrote:jeroen,

I would like to add an entry to the sub menu of 'Videos' is there any way to do this?

Yes and No Smile

Not through the skin's interface at the moment. The submenus are currently using the buttonscroller control. This control unfortunately does not allow visibility conditions on it's individual items. Something which is needed to offer some sort of user customisation. This control is considered deprecated and will unfortunately be removed from xbmc eventually if I'm correct. Buttonscrollers do offer some advantages though. The scrolling is smooth and it allows gradual fading of the list.

In order to get the same results and make it customizable I'll need to completely rewrite the menu system and use static lists combined with animations or something along those lines. I would like to make the submenus completely customizable, so I will be rewriting it at some point.

Now to the yes. Adding entries is quite simple though by editing the xml.

- Open up the file HomeVideoMenu.xml
- around line 45 the code for the actual buttons starts. Just copy and paste one of those button entries.
- increase the ID of the added entry by 1 (so "8" in this case)
- enter the text you want to appear for the button between the <label>tags
- enter the path (or script or whatever you want to point it to) between the <onclick> tags.

wiki links of interest for that last step:
http://wiki.xbmc.org/?title=Opening_Windows_and_Dialogs
http://wiki.xbmc.org/?title=Window_IDs

The only thing left to do is scroll up a bit to <numbuttons>7</numbuttons>
Change this value to the new total amount of buttons in the menu.

Hope that helps Smile
Reply
 
Thread Rating:
  • 3 Vote(s) - 5 Average


Messages In This Thread
[No subject] - by Nuka1195 - 2008-06-11, 21:00
[No subject] - by Gamester17 - 2008-06-11, 21:18
[No subject] - by Bram77 - 2008-06-11, 21:29
[No subject] - by shizzle - 2008-06-11, 22:47
[No subject] - by Jeroen - 2008-06-11, 22:58
[No subject] - by Gamester17 - 2008-06-11, 23:38
[No subject] - by MikeBeecham - 2008-06-12, 17:42
[No subject] - by djh_ - 2008-06-12, 18:14
[No subject] - by MikeBeecham - 2008-06-12, 18:16
[No subject] - by djh_ - 2008-06-12, 18:36
[No subject] - by Jeroen - 2008-06-12, 18:48
[No subject] - by Bram77 - 2008-06-12, 20:52
[No subject] - by maui917 - 2008-06-12, 20:57
[No subject] - by Jeroen - 2008-06-12, 22:31
[No subject] - by szsori - 2008-06-12, 22:40
[No subject] - by marlboroman1 - 2008-06-12, 22:46
[No subject] - by Jeroen - 2008-06-12, 23:18
[No subject] - by Bram77 - 2008-06-13, 01:59
[No subject] - by Bram77 - 2008-06-13, 02:04
[No subject] - by Jeroen - 2008-06-15, 10:12
[No subject] - by bionic1234 - 2008-06-15, 15:43
[No subject] - by topfs2 - 2008-06-15, 20:13
[No subject] - by Jeroen - 2008-06-15, 22:12
[No subject] - by xb00t - 2008-06-16, 14:23
[No subject] - by Jeroen - 2008-06-16, 19:35
[No subject] - by xb00t - 2008-06-16, 19:48
[No subject] - by xb00t - 2008-06-16, 19:57
[No subject] - by topfs2 - 2008-06-16, 20:02
[No subject] - by Jeroen - 2008-06-16, 21:57
[No subject] - by watty - 2008-06-16, 22:01
[No subject] - by xb00t - 2008-06-17, 00:09
[No subject] - by pobhockle - 2008-06-17, 20:33
[No subject] - by Jeroen - 2008-06-17, 20:52
[No subject] - by marlboroman1 - 2008-06-17, 21:26
[No subject] - by Jeroen - 2008-06-19, 22:09
[No subject] - by NickyZero - 2008-06-20, 15:54
[No subject] - by Jeroen - 2008-06-20, 16:08
[No subject] - by xbs08 - 2008-06-20, 19:31
[No subject] - by NickyZero - 2008-06-20, 19:48
[No subject] - by xbs08 - 2008-06-20, 21:08
[No subject] - by Jeroen - 2008-06-21, 08:43
[No subject] - by Jeroen - 2008-06-21, 09:53
[No subject] - by NickyZero - 2008-06-21, 12:24
[No subject] - by Jeroen - 2008-06-21, 12:48
[No subject] - by xbs08 - 2008-06-21, 13:11
[No subject] - by xbs08 - 2008-06-21, 14:42
[No subject] - by NickyZero - 2008-06-21, 20:59
[No subject] - by xb00t - 2008-06-21, 23:04
[No subject] - by Jeroen - 2008-06-22, 18:59
[No subject] - by xbs08 - 2008-06-22, 21:37
[No subject] - by Jeroen - 2008-06-22, 22:10
[No subject] - by xbs08 - 2008-06-22, 22:37
[No subject] - by lord fluffy - 2008-06-23, 00:13
[No subject] - by Jeroen - 2008-06-23, 08:57
[No subject] - by xbs08 - 2008-06-23, 09:55
[No subject] - by Jeroen - 2008-06-23, 12:07
[No subject] - by xbs08 - 2008-06-23, 13:00
[No subject] - by Jeroen - 2008-06-23, 22:47
[No subject] - by xbs08 - 2008-06-23, 23:26
[No subject] - by snuggidk - 2008-06-24, 00:28
[No subject] - by Jeroen - 2008-06-24, 18:45
[No subject] - by xbs08 - 2008-06-24, 19:10
[No subject] - by rudeboyx - 2008-06-24, 19:22
[No subject] - by streetliquid - 2008-06-24, 23:41
[No subject] - by streetliquid - 2008-06-24, 23:52
[No subject] - by snuggidk - 2008-06-25, 00:33
[No subject] - by Jeroen - 2008-06-25, 11:15
[No subject] - by snuggidk - 2008-06-25, 14:24
[No subject] - by Jeroen - 2008-06-25, 15:07
[No subject] - by jonte511 - 2008-06-25, 16:01
[No subject] - by Jeroen - 2008-06-25, 18:18
Well Done - by shanedoyle - 2008-06-25, 22:07
[No subject] - by Jeroen - 2008-06-26, 06:35
[No subject] - by jonte511 - 2008-06-26, 11:15
[No subject] - by TheObo - 2008-06-26, 12:09
[No subject] - by Jeroen - 2008-06-26, 14:16
[No subject] - by MikeBeecham - 2008-06-26, 14:57
Nice one - by shanedoyle - 2008-06-26, 22:03
[No subject] - by Jeroen - 2008-06-28, 15:03
[No subject] - by LoL - 2008-06-29, 02:50
[No subject] - by xbs08 - 2008-07-02, 12:31
[No subject] - by u11241897135181 - 2008-07-02, 13:20
[No subject] - by ads_german - 2008-07-02, 15:33
[No subject] - by manturafs - 2008-07-02, 16:09
[No subject] - by Jeroen - 2008-07-02, 18:00
[No subject] - by u11241897135181 - 2008-07-02, 23:07
[No subject] - by ads_german - 2008-07-04, 17:12
[No subject] - by ads_german - 2008-07-04, 17:24
[No subject] - by ads_german - 2008-07-04, 17:39
[No subject] - by Jeroen - 2008-07-05, 01:15
Wont Stay in Library Mode - by Hudson_Hawk04 - 2008-07-07, 19:09
[No subject] - by Hudson_Hawk04 - 2008-07-07, 19:17
[No subject] - by streetliquid - 2008-07-08, 00:24
[No subject] - by Bram77 - 2008-07-08, 01:02
[No subject] - by Jeroen - 2008-07-08, 08:48
[No subject] - by aqtrans - 2008-07-10, 20:42
[No subject] - by Jeroen - 2008-07-15, 21:46
[No subject] - by Leontes - 2008-07-15, 23:29
[No subject] - by Bram77 - 2008-07-16, 00:59
[No subject] - by snuggidk - 2008-07-16, 02:17
[No subject] - by marlboroman1 - 2008-07-16, 12:09
[No subject] - by Bram77 - 2008-07-16, 13:09
[No subject] - by aart - 2008-07-16, 14:47
[No subject] - by aart - 2008-07-16, 15:07
[No subject] - by Jeroen - 2008-07-16, 19:07
Oops! - by Jeroen - 2008-07-16, 19:36
[No subject] - by Bram77 - 2008-07-16, 21:38
[No subject] - by Bram77 - 2008-07-16, 21:45
[No subject] - by Jeroen - 2008-07-16, 22:30
[No subject] - by aart - 2008-07-16, 22:56
[No subject] - by Jeroen - 2008-07-16, 23:14
[No subject] - by scarfa - 2008-07-17, 06:40
[No subject] - by scarfa - 2008-07-17, 06:41
[No subject] - by Jeroen - 2008-07-17, 15:31
[No subject] - by Jeroen - 2008-07-17, 22:51
[No subject] - by SandmanCL - 2008-07-18, 10:11
[No subject] - by SandmanCL - 2008-07-18, 10:19
[No subject] - by SandmanCL - 2008-07-18, 11:19
[No subject] - by Jeroen - 2008-07-18, 21:51
[No subject] - by Bram77 - 2008-07-19, 00:56
[No subject] - by Bram77 - 2008-07-19, 00:57
[No subject] - by MOAI - 2008-07-19, 03:28
[No subject] - by exxo - 2008-07-19, 12:43
[No subject] - by Jeroen - 2008-07-19, 17:11
[No subject] - by exxo - 2008-07-21, 16:17
[No subject] - by Jeroen - 2008-07-21, 17:50
[No subject] - by espengaasemyr - 2008-07-24, 21:21
[No subject] - by Jeroen - 2008-07-25, 11:52
Localisation support - by Jeroen - 2008-07-27, 13:49
[No subject] - by shizzle - 2008-07-27, 20:34
[No subject] - by Jeroen - 2008-07-27, 21:32
[No subject] - by SandmanCL - 2008-07-27, 22:31
[No subject] - by Jeroen - 2008-07-27, 22:58
[No subject] - by xbs08 - 2008-07-27, 23:49
[No subject] - by scarfa - 2008-07-28, 13:01
[No subject] - by Jeroen - 2008-07-28, 13:22
[No subject] - by aart - 2008-07-28, 19:25
[No subject] - by Jeroen - 2008-07-28, 19:56
[No subject] - by MikeBeecham - 2008-07-29, 20:27
[No subject] - by Jeroen - 2008-07-29, 21:08
[No subject] - by Ayla - 2008-08-01, 12:14
[No subject] - by Jeroen - 2008-08-01, 13:05
[No subject] - by SandmanCL - 2008-08-01, 21:37
[No subject] - by SandmanCL - 2008-08-01, 21:38
Alpha 4 - by Jeroen - 2008-08-03, 17:38
[No subject] - by Jeroen - 2008-08-03, 18:46
[No subject] - by aart - 2008-08-03, 19:47
[No subject] - by MikeBeecham - 2008-08-03, 20:03
[No subject] - by MDPauley - 2008-08-03, 20:26
[No subject] - by IIINeOIIINL - 2008-08-03, 20:44
Some comments - by IIINeOIIINL - 2008-08-03, 20:50
[No subject] - by Jeroen - 2008-08-03, 23:25
[No subject] - by megatomte - 2008-08-04, 11:12
[No subject] - by Dimestore - 2008-08-04, 11:33
[No subject] - by Jeroen - 2008-08-04, 18:53
[No subject] - by IIINeOIIINL - 2008-08-05, 19:36
[No subject] - by scarfa - 2008-08-05, 22:08
[No subject] - by Jeroen - 2008-08-05, 22:17
[No subject] - by rwparris2 - 2008-08-05, 22:24
[No subject] - by Jeroen - 2008-08-05, 23:18
[No subject] - by scarfa - 2008-08-08, 07:26
[No subject] - by Jeroen - 2008-08-08, 09:16
[No subject] - by scarfa - 2008-08-08, 10:12
[No subject] - by Jeroen - 2008-08-08, 12:00
[No subject] - by marlboroman1 - 2008-08-11, 01:20
[No subject] - by rwparris2 - 2008-08-11, 01:35
[No subject] - by scarfa - 2008-08-11, 03:06
[No subject] - by Jeroen - 2008-08-11, 13:43
[No subject] - by Jeroen - 2008-08-11, 15:05
[No subject] - by LoL - 2008-08-11, 16:30
[No subject] - by Jeroen - 2008-08-11, 19:51
[No subject] - by xbs08 - 2008-08-12, 01:35
[No subject] - by chrislee149 - 2008-08-12, 06:56
[No subject] - by Jeroen - 2008-08-12, 08:59
[No subject] - by xbs08 - 2008-08-12, 09:42
[No subject] - by megatomte - 2008-08-12, 23:35
[No subject] - by Dimestore - 2008-08-13, 13:20
[No subject] - by Jeroen - 2008-08-13, 13:42
help me help you help me - by Jeroen - 2008-08-13, 14:39
[No subject] - by megatomte - 2008-08-13, 16:04
[No subject] - by aart - 2008-08-13, 16:27
[No subject] - by LoL - 2008-08-13, 21:07
[No subject] - by Dimestore - 2008-08-13, 21:27
[No subject] - by LoL - 2008-08-14, 00:39
[No subject] - by Jeroen - 2008-08-14, 09:45
[No subject] - by Jeroen - 2008-08-14, 10:38
[No subject] - by xbs08 - 2008-08-14, 11:38
[No subject] - by Bram77 - 2008-08-14, 11:48
[No subject] - by xbs08 - 2008-08-14, 12:13
[No subject] - by Jeroen - 2008-08-14, 12:38
[No subject] - by Dimestore - 2008-08-14, 12:43
[No subject] - by Jeroen - 2008-08-14, 13:11
[No subject] - by Jeroen - 2008-08-14, 13:47
[No subject] - by xbs08 - 2008-08-14, 14:13
[No subject] - by Jeroen - 2008-08-14, 14:37
[No subject] - by rwparris2 - 2008-08-14, 16:19
[No subject] - by Jeroen - 2008-08-14, 16:54
[No subject] - by xbs08 - 2008-08-14, 17:40
[No subject] - by rwparris2 - 2008-08-14, 19:29
[No subject] - by Jeroen - 2008-08-14, 20:01
[No subject] - by Livin - 2008-08-15, 06:38
[No subject] - by Ayla - 2008-08-15, 20:59
[No subject] - by Jeroen - 2008-08-15, 23:17
[No subject] - by Jeroen - 2008-08-15, 23:23
[No subject] - by MikeBeecham - 2008-08-15, 23:40
[No subject] - by Ayla - 2008-08-16, 12:22
[No subject] - by Jeroen - 2008-08-16, 12:43
[No subject] - by Ayla - 2008-08-16, 21:21
[No subject] - by Jeroen - 2008-08-17, 08:30
[No subject] - by Ayla - 2008-08-17, 15:02
[No subject] - by aqtrans - 2008-08-18, 04:16
[No subject] - by Jeroen - 2008-08-18, 10:00
[No subject] - by Dimestore - 2008-08-18, 10:36
[No subject] - by Jeroen - 2008-08-18, 10:47
[No subject] - by xbs08 - 2008-08-18, 11:17
[No subject] - by Jeroen - 2008-08-18, 11:47
[No subject] - by aqtrans - 2008-08-20, 09:17
[No subject] - by Jeroen - 2008-08-20, 11:11
[No subject] - by anoobie - 2008-08-20, 11:18
[No subject] - by IIINeOIIINL - 2008-08-20, 13:05
[No subject] - by Jeroen - 2008-08-20, 13:20
[No subject] - by Jeroen - 2008-08-20, 18:55
[No subject] - by IIINeOIIINL - 2008-08-20, 21:05
[No subject] - by Jeroen - 2008-08-20, 21:44
Some issue - by lupick - 2008-08-24, 12:59
[No subject] - by Jeroen - 2008-08-24, 14:16
[No subject] - by lupick - 2008-08-24, 15:18
[No subject] - by Jeroen - 2008-08-24, 16:22
[No subject] - by lupick - 2008-08-24, 23:15
[No subject] - by plankton88 - 2008-08-26, 06:12
[No subject] - by Jeroen - 2008-08-26, 10:02
[No subject] - by plankton88 - 2008-08-26, 13:46
[No subject] - by plankton88 - 2008-08-26, 14:16
[No subject] - by Jeroen - 2008-08-26, 14:44
[No subject] - by plankton88 - 2008-08-26, 19:31
[No subject] - by Jeroen - 2008-08-28, 18:29
[No subject] - by lupick - 2008-08-28, 19:48
[No subject] - by topfs2 - 2008-08-30, 19:29
[No subject] - by Jeroen - 2008-08-30, 20:34
[No subject] - by rwparris2 - 2008-08-30, 20:48
[No subject] - by Jeroen - 2008-08-30, 21:13
[No subject] - by SimonC - 2008-08-30, 21:50
[No subject] - by topfs2 - 2008-08-30, 21:58
[No subject] - by Jeroen - 2008-08-30, 22:11
[No subject] - by Bram77 - 2008-08-30, 23:04
[No subject] - by topfs2 - 2008-08-30, 23:11
[No subject] - by rwparris2 - 2008-08-30, 23:26
[No subject] - by topfs2 - 2008-08-30, 23:37
[No subject] - by Jeroen - 2008-08-31, 13:21
A+ - by Nuckinfuts - 2008-09-01, 07:03
[No subject] - by Jeroen - 2008-09-01, 09:03
[No subject] - by rwparris2 - 2008-09-01, 17:45
[No subject] - by Jeroen - 2008-09-01, 18:45
[No subject] - by Jeroen - 2008-09-02, 14:14
Alpha 5 - by Jeroen - 2008-09-07, 21:22
[No subject] - by djtoll - 2008-09-07, 21:32
[No subject] - by Ayla - 2008-09-07, 22:02
Thak you! - by lupick - 2008-09-08, 10:20
[No subject] - by Bram77 - 2008-09-08, 11:57
[No subject] - by Dimestore - 2008-09-08, 19:01
[No subject] - by Jeroen - 2008-09-08, 21:07
[No subject] - by IIINeOIIINL - 2008-09-08, 21:10
[No subject] - by Jeroen - 2008-09-09, 10:06
[No subject] - by Ayla - 2008-09-09, 12:48
[No subject] - by xbs08 - 2008-09-09, 16:13
[No subject] - by Jeroen - 2008-09-09, 16:41
[No subject] - by Ayla - 2008-09-09, 17:47
[No subject] - by Jeroen - 2008-09-09, 18:58
[No subject] - by Ayla - 2008-09-09, 19:06
[No subject] - by Dimestore - 2008-09-09, 20:08
[No subject] - by Jeroen - 2008-09-10, 10:03
[No subject] - by Livin - 2008-09-11, 06:39
[No subject] - by Ayla - 2008-09-12, 11:41
[No subject] - by Jeroen - 2008-09-16, 14:16
[No subject] - by topfs2 - 2008-09-18, 22:43
[No subject] - by megatomte - 2008-09-21, 18:58
[No subject] - by migueld - 2008-09-23, 05:17
[No subject] - by MikeBeecham - 2008-09-23, 17:28
Next gen PowerManagement for XBMC - by topfs2 - 2008-09-24, 09:55
[No subject] - by Jeroen - 2008-09-26, 21:26
[No subject] - by Ayla - 2008-09-26, 23:33
[No subject] - by Jeroen - 2008-10-04, 11:16
[No subject] - by Digitalhour - 2008-10-06, 05:18
[No subject] - by muggsy - 2008-10-06, 14:30
[No subject] - by Jeroen - 2008-10-06, 18:18
[No subject] - by djtoll - 2008-10-07, 00:20
[No subject] - by Jeroen - 2008-10-09, 11:57
[No subject] - by muggsy - 2008-10-10, 23:03
[No subject] - by Jeroen - 2008-10-11, 10:18
[No subject] - by muggsy - 2008-10-11, 12:52
Bug in the System menu - by lupick - 2008-10-11, 15:20
[No subject] - by Jeroen - 2008-10-12, 13:56
[No subject] - by Bram77 - 2008-10-12, 17:32
[No subject] - by Digitalhour - 2008-10-12, 23:22
[No subject] - by Jeroen - 2008-10-13, 01:47
[No subject] - by Bram77 - 2008-10-13, 12:26
[No subject] - by Jeroen - 2008-10-13, 13:49
[No subject] - by lupick - 2008-10-17, 22:40
[No subject] - by Jeroen - 2008-10-17, 23:16
[No subject] - by lemik - 2008-10-20, 00:55
[No subject] - by Jeroen - 2008-10-20, 18:14
[No subject] - by matt_cyr - 2008-10-20, 18:58
[No subject] - by simonjp - 2008-10-23, 22:49
[No subject] - by Jeroen - 2008-10-25, 11:48
[No subject] - by Jeroen - 2008-10-25, 12:06
[No subject] - by topfs2 - 2008-10-28, 13:18
[No subject] - by Jeroen - 2008-10-28, 17:48
[No subject] - by rwparris2 - 2008-10-28, 18:03
[No subject] - by topfs2 - 2008-10-29, 00:54
[No subject] - by Bram77 - 2008-10-29, 16:20
[No subject] - by Jeroen - 2008-10-31, 10:28
[No subject] - by Jeroen - 2008-11-03, 15:14
[No subject] - by rwparris2 - 2008-11-03, 17:59
[No subject] - by Jeroen - 2008-11-03, 18:09
Alpha 6 problem on XBOX - by lupick - 2008-11-16, 15:28
[No subject] - by maometto - 2008-11-16, 17:06
[No subject] - by Jeroen - 2008-11-16, 17:20
[No subject] - by simonjp - 2008-11-19, 02:03
[No subject] - by Jeroen - 2008-11-19, 06:53
[No subject] - by Bram77 - 2008-11-21, 11:40
[No subject] - by miljbee - 2009-04-10, 09:36
[No subject] - by Johnkg - 2009-04-10, 12:25
[No subject] - by jmarshall - 2009-04-10, 12:34
[No subject] - by Bram77 - 2009-04-16, 01:55
[No subject] - by Jeroen - 2009-04-17, 16:17
[No subject] - by Waffa - 2009-04-17, 17:00
[No subject] - by xbs08 - 2009-04-22, 20:18
[No subject] - by Jeroen - 2009-04-22, 21:56
[No subject] - by xbs08 - 2009-04-23, 14:17
[No subject] - by diemos - 2009-04-23, 18:17
[No subject] - by azido - 2009-04-24, 13:35
[No subject] - by Bram77 - 2009-04-24, 13:57
[No subject] - by Johnkg - 2009-04-25, 12:14
[No subject] - by leeberguy - 2009-04-26, 17:59
[No subject] - by zeltak - 2009-04-29, 16:31
[No subject] - by Jeroen - 2009-04-29, 18:39
[No subject] - by ajp8164 - 2009-05-26, 03:15
[No subject] - by Bram77 - 2009-05-26, 11:46
[No subject] - by Jeroen - 2009-05-26, 12:45
[No subject] - by queeup - 2009-05-26, 14:17
[No subject] - by Jeroen - 2009-05-28, 18:43
[No subject] - by ajp8164 - 2009-05-29, 06:03
[No subject] - by ajp8164 - 2009-06-27, 06:45
[No subject] - by homesnake - 2009-08-22, 23:57
[No subject] - by Sranshaft - 2009-08-24, 07:53
[No subject] - by homesnake - 2009-08-26, 04:20


Logout Mark Read Team Forum Stats Members Help
Focus (an XBMC Media Center skin) discussion thread53