4
Thanks
icama and
3lr0n for your replies, most helpful. I read the replies on the Smartsection forum also, but nothing there about category ID.
When sumitting an article, the url is:
http://examle.com/modules/smartsection/admin/item.php?op=modand I noticed the code from other drop-down boxes is like this ..
<select id='summarySize' onchange='setVisible("xoopsHiddenText");setElementSize("xoopsHiddenText",this.options[this.selectedIndex].value);'>
<option value='SIZE'>SIZEoption>
<option value='xx-small'>xx-smalloption>
<option value='x-small'>x-smalloption>
<option value='small'>smalloption>
<option value='medium'>mediumoption>
<option value='large'>largeoption>
<option value='x-large'>x-largeoption>
<option value='xx-large'>xx-largeoption>
select>
however, for the category dropdown box, this is the code ...
<select name='categoryid'>
<option value='1'>Category 1option>
<option value='2'>Category 2option>
<option value='3'>Category 3option>
select>
the javascript onchange event is missing ?? The code in itemp.php, in relation to the category ID is ..
$sel_categoryid = isset($_GET['categoryid']) ? $_GET['categoryid'] : 0;
$categoryObj->setVar('categoryid', $sel_categoryid);
for some reason, this worked okay (no blank page) in XOOPS 2.0.13 ??
Strange eh !!
NO to the Microsoft Office format as an ISO standard. Sign the
petition