Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> mod_rewrite i TinyMCE, 'znaczniki' zamiast tekstu
Savage.Mephisto
post
Post #1





Grupa: Zarejestrowani
Postów: 122
Pomógł: 11
Dołączył: 24.01.2008

Ostrzeżenie: (0%)
-----


Mam problem z edytorem TinyMCE w panelu administracyjnym. Po operacji SEO friendly przy użyciu mod_rewrite edytor wyświetla 'znaczniki' zamiast tekstu. Niepożądany efekt można zobaczyć na załączonym poniżej zdjęciu:

(IMG:http://img41.imageshack.us/img41/6431/tinymce.th.png)

Ponadto niemożliwe stało się korzystanie z niektórych pluginów, np. wstawianie obrazka.

W pliku .htaccess mam m.in. taki wpis:

Kod
RewriteRule ^.+(/admin/css/.+)$ $1 [L]
RewriteRule ^.+(/admin/jscripts/.+)$ $1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d


Poza tym używam w sekcji <head></head> wpisu <base href="" />
Edytor uruchamiam przy użyciu poniższego kodu:

Kod
    tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        editor_selector : "mceEditor",
        editor_deselector : "mceNoEditor",
        plugins : "safari,spellchecker,style,layer,table,save,advhr,advimage,advlink,iespell,in
inepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,dir
ctionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,pagebreak",
        theme_advanced_buttons1_add_before : "",
        theme_advanced_buttons1_add : "fontselect,fontsizeselect",
        theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
        theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
        theme_advanced_buttons3_add_before : "tablecontrols,separator",
        theme_advanced_buttons3_add : "iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
        theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker,ci
e,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,blockquote,pagebreak",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        content_css : "css/content.css",
        plugin_insertdate_dateFormat : "%d-%m-%Y",
        plugin_insertdate_timeFormat : "%H:%M:%S",
        theme_advanced_resize_horizontal : false,
        theme_advanced_resizing : false,
        apply_source_formatting : true,
        fix_table_elements : true,
        fix_list_elements : true,
        fix_nesting : true,
        inline_styles : true,
        cleanup : true,
        cleanup_on_startup : true,
        verify_html : true,
        convert_fonts_to_spans : true,
        relative_urls : false,
        remove_script_host : false,
        language : "pl",
        spellchecker_languages : "+English=en,Polish=pl"
    });



Jak temu zaradzić?
Proszę o pomoc.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 23:38