1
To get the same category menu in the submit form at the visitors side as at the admin side do as follows:
Open in a editor: /wflinks/submit.php
replace line 223-225:
Quote:
$cat_select = new XoopsFormSelect( _MD_WFL_CATEGORYC, 'cid', $cid );
$cat_select -> addOptionArray( $submitcats );
$sform -> addElement( $cat_select );
with,
Quote:
ob_start();
$mytree -> makeMySelBox( 'title', 'title', $cid, 0 );
$sform -> addElement( new XoopsFormLabel( _MD_WFL_CATEGORYC, ob_get_contents() ) );
ob_end_clean();
EDIT:
See also thread on WF-Projects website:
http://www.wf-projects.com/modules/newbb/viewtopic.php?topic_id=3&start=20