'.$lbl.':
'.$lbl.':
'.$lbl.':
'; to line 1322 .. code-block:: php echo '
';*/[/code] This code disables the default editor toolbar. **Replace** line 1327 .. code-block:: php echo html_input('fieldset', '', '', '', '', '', '', '', '', '', '', '', '', '', ''.l('preview').''); with .. code-block:: php if ($_SESSION[db('website').'Logged_In'] == token()) { echo html_input('fieldset', '', '', '', '', '', '', '', '', '', '', '', '', '', ''.l('preview').''); } else { echo html_input('fieldset', '', '', '', '', '', '', '', '', '', '', '', '', '', ''.l('preview').''); } This code allows the edited article to be correctly previewed by sNews each time the sNews preview button is clicked. **Replace** line 1393 .. code-block:: php echo html_input('submit', $frm_task, $frm_task, $frm_submit, '', 'button', '', '', '', '', '', '', '', '', ''); with .. code-block:: php echo html_input('submit', $frm_task, $frm_task, $frm_submit, '', 'wymupdate', '', '', '', '', '', '', '', '', ''); This code allows the edited article to be correctly saved when the sNews save button is clicked. That's all, sNews should now run WYMeditor instead of its default editor. If you experiment problems in running or using WYMeditor inside sNews, you are invited to read `this topic