MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Skins


Skins You are working on a new Skin? Post it here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-05-30, 18:06   #1 (permalink)
Portal User
 
Join Date: May 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Question how to use different skin files in a plugin??

Hi,
well I'm just another newbie searching for help with a basic problem. Unfortunately the basic tutorial does not give me a solution for it.

I'm trying to make a window plugin. If I press on a certain button I want that a new site is displayed or rather another xml-file is used.

I've tried it in the following ways:
- I used in the xml-file(id= 0815) in a control the following tag: <hyperlink>1234</hyperlink> 1234 is the id of the other xml-file which should appear.
- in C#: GUIWindowManager.GetWindow(1234);
GUIWindowManager.ActivateWindow(1234);

This methods work when I am using an ID which already exists such as the one from MyRadio or what else but not with my new one.

How can I "register" new xml-Files??
I found out that when I am making a new plugin doing nothing but having the same id 1234 it works if it is activated. But I do not want to have for example 10 useless plugins in the media portal menu when i need to display 10 different pages in the one usefull plugin.

So what is the professional and right way to include and use different xml-Files so that I am able to switch between the pages with a simple button click??

I am looking forward to hearing from somebody soon.
Many thanks in advance.

kind regards Naty
Naty is offline   Reply With Quote
Old 2007-06-01, 04:07   #2 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: Sydney
Age: 28
Posts: 236
Thanks: 3
Thanked 2 Times in 2 Posts

Country:

My System

Default

From what I know in “skinning” the <hyperlink> will jump to the XML file which has the ID at the top of the file so you need to add the id in the first few lines of code in the new XML file which you have made for the plug-in.

I’m not at my home so I cant give any example with out looking at the files first
Forgotten Illustrator is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, skin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Abspielen von Quicktime (mov)-Files / Kinotrailer-Plugin ? imported_XMan5 Media Portal - Support 12 2007-08-06 11:04
MyTVSeries - Plugin that organizes TV Video Files WeeToddDid Plugins 901 2007-05-10 23:15
Compulsory skin files? Psycho Reptile Skins 5 2007-04-27 10:55
Skin and Plugin Intergration woes... jay_galway Skins 0 2007-03-01 09:05
Deleteing of files in My Explorer plugin not enabled tkortell 0.2.0.0 Release Candidate 2 CVS Bugs 7 2006-03-03 12:12


All times are GMT +1. The time now is 00:08.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress