Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:// String Formatting Settings
define("agDEFAULTSTRINGFORMAT", "Text");// String Formatting Settings
define("agDEFAULTSTRINGFORMAT", "Html");
if ( $Context->Session->UserID > 0
&& $Context->Session->User->Permission('PERMISSION_HTML_ALLOWED')
) {
//Make someFormatter the default formatter to post a new comment or to edit an old one
$Context->Configuration['DEFAULT_FORMAT_TYPE'] = 'someFormatter';
$Context->Session->User->DefaultFormatType = 'someFormatter';
// Uncomment the following lines if you don't want the user to change of formatter
// $Context->Session->User->Preferences['ShowFormatSelector'] = 0;
}$Context->StringManipulator->AddManipulator('Html', $HtmlFormatter); it would be "Html".$Configuration['DEFAULT_FORMAT_TYPE'] = 'Text';$Configuration['DEFAULT_FORMAT_TYPE'] = 'Html';Posted: Wednesday, 29 August 2007 at 11:50AM
1 to 16 of 16