Nis 2007 için arşiv
wysiwygpro mambot ja_submit hack
19 Nis 2007
ja_submit.html.php dosyasında
bu satırı ara
function submitbutton(pressbutton){
hemen altındaki
submitform(pressbutton);
satırını bununla değiştir
<?phpgetEditorContents( ‘editor1′, ‘introtext’ );
getEditorContents( ‘editor2′, ‘fulltext’ );
?>
submitform(pressbutton);
wysiwygpro mambotunda türkçe karakter sorununa çözüm
19 Nis 2007
/mambots/editors/wysiwygpro/editor_functions.php
isimli dosyanın
552. satırındaki burayı
$fixed = htmlentities( $string, ENT_NOQUOTES, $charset );
Şununla değiştirin
$fixed = htmlspecialchars( $string, ENT_NOQUOTES );
570. satırda şunu bulun
$str = preg_replace(”/�([0-9]+);/”, “�$1;”, $str);
Altına bunu ekleyin.
$str = str_replace ( ‘Ð’, ‘ź’, $str );
$str = str_replace ( ‘ð’, ‘ğ’, $str );
$str = str_replace ( ‘ĺ’, ‘ƺ’, $str );
$str = str_replace ( ‘þ’, ‘ş’, $str );
$str = str_replace ( […]