Hey all,
i have created a custom module, which is nothing more than a normal module which i stripped out and appended html code at the end, and i have inside it 2 drop down lists in the form:
Quote:
<select name="radiostation" size="1" onChange="window.open(this.options[this.selectedIndex].value,'_self')">
<option selected>Choose Radio Station</option>
<option value="hXXp://www.mysite.com/index.php?option=com_wrapper&Itemid=113">Radio FM</option>
</select>
|
Now, the problem is when a user wants to submit a vote at the Poll module..When he clicks the "VOTE" button he is redirected to
Quote:
|
hxxp://mysite.com/index.php?radiostation=Choose+Radio+Station&voteid =2&task_button=Vote&id=1&task=vote
|
When my custom module is unpublished the user can vote normally:
Quote:
|
hxxp://mysite.com/index.php?voteid=2&task_button=Vote&id=1&task=vote
|
I know i have a problem with my html code in the custom module..
Even the slightest hint would be appreciable
Regards,
Mak3