Help with hyperlinks in new plugin (1 Viewer)

pholding

Portal Member
September 14, 2008
8
0
Home Country
United Kingdom United Kingdom
I need some help with a plugin I'm trying to write. The plugin will basically allow a user to access some of the configuration settings for TVServer.

I'm using the settings plugin as a basis for this new plugin.

Very much like the Settings plugin, I've drawn three buttons on the screen. I want some of these buttons to hyperlink to another new screen within the plugin.

I've created a new skin file called TVE3Config.xml which has three buttons. I want the second button ID 4 to hyperlink to a new screen which I've given the ID 2205831. In the skin file TVE3Config.xml I've used the following

<control>
<description>Channel Scan</description>
<type>button</type>
<id>4</id>
<width>197</width>
<label>Channel Scan</label>
<hyperlink>2205831</hyperlink>
<onup>3</onup>
<ondown>5</ondown>
</control>

I've created another new skin file called TVE3Config_scan.xml with an ID of 2205831.

The first screen is drawn correctly and the buttons without hyperlinks work fine.

The problem is whenever I click on the button with the hyperlink it just redraws the screen with the three buttons, and doesn't go to the new screen id 2205831.

Can someone help me out please as I can't see where I'm going wrong.
 

Users who are viewing this thread

Top Bottom