how to use different skin files in a plugin?? (1 Viewer)

Naty

New Member
May 2, 2007
4
0
Home Country
Austria Austria
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
 
December 28, 2005
237
3
Sydney
Home Country
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
 

Users who are viewing this thread

Top Bottom