Log in

View Full Version : module.xml help


RagingPenguin
05-06-2008, 05:02 PM
Can somebody fix this? No errors, but the combo box has nothing in it.

From my module.xml install file...

<optioncode><![CDATA[<select name=\"$name\" " . $jsdefault_onchange . " class=\"bginput\" tabindex=\"1\">
<option " . iif($setting[value] == 'rand', 'selected=\"selected\"') . " value=\"rand\">$vbphrase[videomax_rand]</option>
<option " . iif($setting[value] == 'desc', 'selected=\"selected\"') . " value=\"desc\">$vbphrase[videomax_desc]</option>
<option " . iif($setting[value] == 'asc', 'selected=\"selected\"'). " value=\"asc\">$vbphrase[videomax_asc]</option>
</select>]]></optioncode>

Opserty
05-06-2008, 05:24 PM
What is this file for?/What does it do?

You shouldn't really be editing XML files directly if they are going to be used by vBulletin.