Adding my own menu item - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Skins Support (/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (/forumdisplay.php?fid=179)
+----- Forum: Aeon MQ (/forumdisplay.php?fid=68)
+----- Thread: Adding my own menu item (/showthread.php?tid=49538)
Pages: 1 2
Adding my own menu item - tjep - 2009-04-24 16:40
I already posted this question, and found that I could re-name an existing string... however, since then I have "gotten smarter" and I now see that it was not the correct way to go about it...
What I would like to do is this:
I have a number of child-programmes recorded from my television set - these I would like to be able to display in their own menu on the "menu band" - then name I am after is something like "Children". I would like the look and feel to be similar to "TV shows" if possible.
So far I have:
Added a new entry to Includes_MainMenu.xml based upon a copy of TV shows - and made an ID to make it "translatable" using Strings.xml.
When I launch I get my new menu - but since it is a copy all content is TV shows - I really would like it to be the content of my "Children" folder...
Anyone got any suggesitons or hints - is this possible - at all?
- mug2k - 2009-04-24 17:54
How do you rename an existing menu item ?.Also do you know if you can change the locations of the menu items too ?.
Sorry for the hijack
- tjep - 2009-04-24 18:03
Go to"Language" under Aeon skin - find the appropriate language - just edit the name - eg. you can change "Games" to "Whatever" - not sure though that this is the correct way - hence this post...
- ecazi - 2009-04-24 18:05
tjep Wrote:I already posted this question, and found that I could re-name an existing string... however, since then I have "gotten smarter" and I now see that it was not the correct way to go about it...
You can try adding this line under your Children's entry
<onclick>XBMC.ActivateWindow(MyVideoFiles,path to Children's folder)</onclick>
Also, you should make sure you've also added a "Children" entry under the virtual menu section of the Includes_MainMenu.xml or it might throw off the layout when you display the Children's section.
- tjep - 2009-04-24 18:59
ecazi Wrote:You can try adding this line under your Children's entry
That sort of did the trick - however, whenever I try and navigate back from "Children" to the main menu band I am left with browsing through the path that I have added for the direct link to my "Children" videos... any thoughts on how to avoid this?
Along the same lines - I really would also like to be able to use custom backdrops for just this new menu item - and not share it with TV shows...?
- ecazi - 2009-04-24 20:23
Try adding a return and see if that helps
As for the backdrops, I'm limited because I'm at work and don't have xbmc installed but maybe someone else can help.
- tjep - 2009-04-25 06:59
Thanks again for the tip- I now have an <onclick> that looks like this:
- however still no luck in getting directly back to the menu...
On the whole - backdrop topic, I have:
- Added an entry to the Vitual Menu entry
Added below entries to Includes_Backgrounds.xml
Added to custom2_AeonCustomisation:
However, so far I am having no luck in getting a custom backdrop to Children... any help from anyone. Am I looking in the right direction?
- When/if I suceed I will write a how-to describing the solution - I can see others have struggled with this before...
Return issue - JudoSquash - 2009-04-29 01:51
I think I figured out the return issue. I have added a "TV Series" Menu to my Main Menu using this code.
In "Includes_Main_Menu.xml" you will find three different categories for the "item id"'s:
(A) <include name="MainMenu">
(B) <include name="VirtualMainMenu">
© <include name="VirtualMainMenuOptions">
I have added the following strings for these categories:
** Remember to change the "\\XX\Media\TV Series" to the directory you wish to use.
Paste into category (A)
Paste into category (B)
Paste into category ©
This set up should return you to the main menu, however... I am unable to get a full context menu in the newly created menu category. I am unable to scan for new content because it's not in my context menu options. I don't if something is entered incorrectly in the code, or if I am missing a string altogether.
I hope this helps you out, and if anyone knows how to fix the context menu problem, please post to let us know. Thanks.
- tjep - 2009-04-29 08:12
This is great work! Thanks for your effort - I will test this as soon as I get home...
- onesojourner - 2009-04-29 20:54
I am interested in this too.
- tjep - 2009-05-04 20:12
Just wanted to give a small update - I hve not yet been able to test this due to "busy-ness" - it is not forgotten!!
- carpe_k9 - 2009-05-11 17:22
I've registered with the site just so I could post here to show my support. Quite frankly, I think it's a great idea.
I built a small, but efficient computer that sits next to my bed that is hooked to a 22" lcd that's mounted on the wall in such a way that it's perfect for viewing while sitting or laying on the bed. I was planning on using vanilla XBMC on it, but came across Aeon and was stunned, as it made the idea that I had that much richer (pimp :-P).
I figure I'll never use the "music" or "pictures" option on the menu bar, but I never saw any built-in options to change them to something of my choice. I understand the creators wanting to work with a set idea, but honestly I have no use for music next to my bed coming from those teeny-tiny lcd speakers.
If you can figure out a way to mod/change menu items to custom categories, that would be swell. I'd love to have the ability to sync up my cartoons, anime, movies and tv shows to their own menu bar spots just because I would personally find that more aesthetically pleasing.
BUT! That's just me. I realize I'm in a minority here, but again... I just wanted to show my support for the idea and the fact that someone is taking action to do something like this. (I can't code at all, so I'm totally relying on someone else's work. I'll totally cheer you on, though!)
- PilGrim - 2009-05-12 08:18
I have been looking at doing something similar but I was trying to change the submenu mod. Essentially this would allow you to on TV Shows up or down arrow to sub menu and then have Kids, Documentary, Travel (categories I want). My goal was to have it then pop into either library view or file view depending on the content.
Thread on how to mod to change submenu items
I still have not gotten it completely figured out as I have not had much time. Having a good example file that works to compare to my original files would be a big help, if someone on this thread takes a shot at this.
- stoplis - 2009-05-12 10:29
I would like to hear how this turns out, because I download a lot of movie trailers and I would like a seprate area for them all. This would work perfectly.
- cyrus_mc - 2009-05-12 17:36
JudoSquash Wrote:I think I figured out the return issue. I have added a "TV Series" Menu to my Main Menu using this code.
Thanks for this. Would you be able to describe what each of those three sections means?