Request ::: Multi level basic home (3 Viewers)

vrm42

Portal Pro
April 24, 2007
131
28
Home Country
Hungary Hungary
For some weird reason if I minimize to tray and open MP up again with some of your changes it has an invalid xml error. The weird thing is that it doesn't do that at first, only after minimize.

Yeah, that's how things goes with MP :D Of course, it is working fine for me otherwise I wouldn't post that xml.
I hope it will at least give you some ideas for a better solution.
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
The solution is pretty decent now I understand it completely.
Got it implemented now the way I like it and it's looking awesome, thanks a bunch!

I redid some stuff such as moving everything to a seperate imported file, created a bunch of new variables and such. Will release what I have when it's all tidied up
 

Attachments

  • 19-29-34.jpg
    19-29-34.jpg
    184.2 KB

vrm42

Portal Pro
April 24, 2007
131
28
Home Country
Hungary Hungary
Cool, sounds promising. I'm looking forward what it will end up. I like that idea about the separated file(s). With this, maybe I can do things that I can't do before (flexible submenues depending on plugins).
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Here you go a first version.

You can <import>basichome.submenus.xml</import> this file somewhere in the end of basichome.xml
You still need to edit it but at least now it's all in one place.
I introduced new variables for onleft of the submenu;
<define>#SubmenuGamesLeft:1700</define>
<define>#SubmenuMusicLeft:1701</define>
<define>#SubmenuMoviesLeft:1702</define>
<define>#SubmenuNewsLeft:1704</define>
<define>#SubmenuInternetLeft:1705</define>
<define>#SubmenuPluginsLeft:1706</define>
These variables need to be defined in the top of basichome.xml (with the rest of the defines)
I have not added all submenus for each item because I do not have the need for that and since only users with some skinning knowledge will get this to go I thought that'll be ok.
I also snatched a style (references.xml) for all the buttons, like the indented edges and cleans up the xml.

What you need to know to customize it yourself;
- The onright tags of each corresponding button in basichome.xml need to be changed to the corresponding ID in the submenu (10000, 20000, 30000, 40000, etc.)
- You need to edit my attachment ofcourse to get your plugins sorted
- If your main menu item labels change when entering a submenu then take a look at where it reads;
"<!-- Home menu items visibility on lateral blade -->"
After this line there the labels are defined that you see when entering a submenu. An easy way to find the once that are wrong is searching by ID from the comment above. So lookup the ID of the submenu go to the comment and search for the ID of the dummy (11000, 21000, 31000 etc.)

And finally I want to say :D to vrm42 again for his work on this nice piece

---Update---
Attachment removed, newer version here
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Now I got the hang of it I even created a sub submenu (right click on system).
Makes it less cluttered, more intuitive I think.

---EDIT---
Already finetuned it a little more, especially some animation tweaks. I had to move the subblade out of the import to get everything working like I want it, those images need to be in basichome.xml for the best animation effect
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
I created a new package with all the files that concern my modifications. I think this will make it easier for others to integrate into their own version.
I also have done lots of changes, so time for an update;

- Added the smaller menu labels (like "read the" news) when a submenu is displayed (basichome.submenus.xml)
- Added HTPCInfo ticker when the plugins item is selected, switches out the default rss ticker (basichome.xml) with a nice animation
- Added Twitter ticker when the twitter button is selected, switches out the default rss ticker (basichome.xml) with a nice animation
- Added an arrow indicating there's a submenu
- Lots of animation improvements and bugfixes

Enjoy

p.s.
if only I could fix the movement of the menu when going into the submenu... If you find a fix, please share!
 

Attachments

  • 23-19-43.jpg
    23-19-43.jpg
    138.2 KB
  • 23-20-06.jpg
    23-20-06.jpg
    159.7 KB
  • 23-41-27.jpg
    23-41-27.jpg
    126.3 KB
  • basichome_mod.zip
    20.1 KB

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
I created a new package with all the files that concern my modifications. I think this will make it easier for others to integrate into their own version.
I also have done lots of changes, so time for an update;

- Added the smaller menu labels (like "read the" news) when a submenu is displayed (basichome.submenus.xml)
- Added HTPCInfo ticker when the plugins item is selected, switches out the default rss ticker (basichome.xml) with a nice animation
- Added Twitter ticker when the twitter button is selected, switches out the default rss ticker (basichome.xml) with a nice animation
- Added an arrow indicating there's a submenu
- Lots of animation improvements and bugfixes

Enjoy!

Hi Joz,

Nice work, now you have done the hard part I will look at amending the editor to provide this type of functionality :) Will go for vertical first as horizontal version of this will be fun but will see what I can done.

You mention bug fixes and animation improvements, was this general or specific to this mod ?

Thx again
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
The bugfixes and animation improvements were about the new submenu behaviour and did not effect anything general.
Great to see the feature gets added so others can enjoy it too with a little more ease.

FYI
I still have a couple bugs on my list regarding this submenu
1) The "main" menu moves when going into the submenu, not sure how to fix this.
2) When starting MP from scratch and a menu item without a submenu is selected and you press right you end up nowhere, stuck. Happens for me with tv series.
3) Unsure how to animate the submenu arrow graphic nicely with the rest

Haven't found a fix yet but will keep looking. If you find anything in the mean time, please share :)
 

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
The bugfixes and animation improvements were about the new submenu behaviour and did not effect anything general.
Great to see the feature get added so others can enjoy it to with a little more ease.

FYI
I still have a couple bugs on my list regarding this submenu
1) The "main" menu moves when going into the submenu, not sure how to fix this.
2) When starting MP from scratch and a menu item without a submenu is selected and you press right you end up nowhere, stuck. Happens for me with tv series.
3) Unsure how to animate the submenu arrow graphic nicely with the rest

Haven't found a fix yet but will keep looking. If you find anything in the mean time, please share :)
Hi Joz,

The main menu move is down to basic design issue in the way the scolling menu works, there are 2 buttons for each item 1 for up the other for down. When you move off one of these buttons the animation is triggerd and the menu does a little jump - thats the problem, how to solve it is a bigger issue.

Will look at 2 & 3 - I have started on adding this to the editor.

thx
 

vrm42

Portal Pro
April 24, 2007
131
28
Home Country
Hungary Hungary
The main menu move is down to basic design issue in the way the scolling menu works, there are 2 buttons for each item 1 for up the other for down. When you move off one of these buttons the animation is triggerd and the menu does a little jump - thats the problem, how to solve it is a bigger issue.

Hi,

My menu doesn't move when you open a submenu. But it will move when you step back.
To be honest, in the original xml this issue was solved perfectly, but I just got lost somewhere in the middle, so I left it this way. That was more than a year ago, maybe I should try again.

Here: https://forum.team-mediaportal.com/streamedmp-301/streamed-mediaportal-community-mods-bug-fixes-49484/index12.html#post354641
 

Users who are viewing this thread

Top Bottom