1
I've been trying to update the xoosla modules to use much of the newer parts of 2.4.4 and I seem to be hitting many brick walls, either through lack of documentation or bugs.
For some reason no matter what config options I use for the XoopsEditor class, only 1 option seems to work.
$options = array( 'name' => 'wfc_content',
'value' => $this->getVar( 'wfc_content', 'e' ),
'rows' => 35,
'cols' => 75,
'width' => '100%',
'height' => '400px'
);
$options_tray = new XoopsFormElementTray( _MA_EWFC_PAGE_CONTENT . ': ' . $this->getVar( 'wfc_title' ), '
' );
$options_tray->setNocolspan( 1 );
$wfc_content = new XoopsFormEditor( '', wfp_getModuleOption( 'use_wysiwyg' ), $options, $nohtml = false, $onfailure = 'textarea' );
$options_tray->addElement( $wfc_content );
Cols, width, and height do not seem to work no matter what I seem to do.
many thanks for the help :)
John