2016-10-03, 00:09
First, I would like to apologize to the group if it sounded like I have attitude. We are anonymous here but in real life I am not like that at all. In the post directly above mine fireze considers quitting while he is ahead so I thought maybe he did, and no other members are a part of this thread.
So here goes.
I have the same situation only I'm following the MVC thread so my button would be for 3d movies rather than Anime, but it's the same thing
Start by copying and pasting your Includes_Home.xml files, just in case.
Define your button:
Open the Includes_Home.xml and around line 2630 or so you'll find the group of button definitions. Add your own here such as:
<include name="3dMoviesButton">
<item id="17">
<label>Cinema 3d</label>
<onclick>ActivateWindow(Videos,"special://profile/playlists/video/3d.xsp", return)</onclick>
<icon>special://skin/backgrounds/settings.jpg</icon>
<thumb>-</thumb>
</item>
</include>
Pick whatever you want for the background, label, etc.
Add your button:
At around line2260 you'll see the vertical menu set <include name="VerticalMenu">
Scroll down from there to the <content> set adn add your button
<content>
<include condition="!Skin.HasSetting(Menu_Videos)">HomeVideosButton</include>
<include condition="!Skin.HasSetting(Menu_Movies)">HomeMoviesButton</include>
<include>3dMoviesButton</include>
<include condition="!Skin.HasSetting(Menu_TVShows)">HomeTVShowsButton</include>
<include condition="Skin.HasSetting(Menu_MusicVideos)">HomeMusicVideosButton</include>
MORE CODE
</content>
I wanted my button to be displayed behind the movies button and while I am sure it's frowned upon, this group is where you re-order your buttons if you want to.
That's it.
Here's a snip of the results:
Mines a bit different because I have T! switch background sets for H or V menus.
Here's the result of clicking on the 3d button:
Your button is a rogue so it won't appear in the settings:
and of course when you update T! I imagine you will have to re-add your buttons.
A couple more things
Check my reputation.
It's probably not a good idea to display more than 15 buttons total.
You asked to add a button, not mod the skin, and this is a simple way to do it.
I apologize for sounding condescending it my first post.
Answering sarcasm with sarcasm probably makes you the person you rail against.
So here goes.
I have the same situation only I'm following the MVC thread so my button would be for 3d movies rather than Anime, but it's the same thing
Start by copying and pasting your Includes_Home.xml files, just in case.
Define your button:
Open the Includes_Home.xml and around line 2630 or so you'll find the group of button definitions. Add your own here such as:
<include name="3dMoviesButton">
<item id="17">
<label>Cinema 3d</label>
<onclick>ActivateWindow(Videos,"special://profile/playlists/video/3d.xsp", return)</onclick>
<icon>special://skin/backgrounds/settings.jpg</icon>
<thumb>-</thumb>
</item>
</include>
Pick whatever you want for the background, label, etc.
Add your button:
At around line2260 you'll see the vertical menu set <include name="VerticalMenu">
Scroll down from there to the <content> set adn add your button
<content>
<include condition="!Skin.HasSetting(Menu_Videos)">HomeVideosButton</include>
<include condition="!Skin.HasSetting(Menu_Movies)">HomeMoviesButton</include>
<include>3dMoviesButton</include>
<include condition="!Skin.HasSetting(Menu_TVShows)">HomeTVShowsButton</include>
<include condition="Skin.HasSetting(Menu_MusicVideos)">HomeMusicVideosButton</include>
MORE CODE
</content>
I wanted my button to be displayed behind the movies button and while I am sure it's frowned upon, this group is where you re-order your buttons if you want to.
That's it.
Here's a snip of the results:
Mines a bit different because I have T! switch background sets for H or V menus.
Here's the result of clicking on the 3d button:
Your button is a rogue so it won't appear in the settings:
and of course when you update T! I imagine you will have to re-add your buttons.
A couple more things
Check my reputation.
It's probably not a good idea to display more than 15 buttons total.
You asked to add a button, not mod the skin, and this is a simple way to do it.
I apologize for sounding condescending it my first post.
Answering sarcasm with sarcasm probably makes you the person you rail against.