![]() |
|
how disble tinymce in zenpage - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: how disble tinymce in zenpage (/thread-4180.html) |
how disble tinymce in zenpage - Odaria - 03-12-2008 I've encoding problems with tinymace in Russian language, it doesn't save content correct characters, also i can't save titlelink in category names, if category name called in Russian words. I'd like to disable tinymce at all, is it passible? how disble tinymce in zenpage - Odaria - 03-12-2008 this isn't tinymce! something wrong with zenpage edit.php files. I can creat news/article/page and it will be shown right, but if I try to edit & save - i get " ��ð��ø" instead of my content. (mbstring.internal_encoding = UTF-8) how disble tinymce in zenpage - acrylian - 03-12-2008 Is it displayed that way on the site itself, too? Did you check your database, which encoding has that set? Btw, tinyMCE only handles the content/extra content of pages and articles, not the titles/titlelinks. how disble tinymce in zenpage - Odaria - 03-12-2008 database encoding is utf8_unicode_ci. other part of site is ok, I can edit and save albums (or images) titles & descriptions. Problem is only with category names, aritcles, news and pages titles & content in zenpage. ps: i opened in phpmyadmin table zenpage_pages and changed cells content and codeblock, it saved and viewed on site correctly, but then i opened this page in admin (path: zp-core/plugins/zenpage/page-edit.php?id=4) - it already veiwed in unreadble chars like "ûðûðû". how disble tinymce in zenpage - acrylian - 03-12-2008 Alright, I copied some Russian chars from your site and I can reproduce the issue with the content and extra content but not with titles of pages, articles and categories or codeblocks. Also I see the issue getting the titlelink basically cleared except for a "-". The titlelink issue is surely related to our seofriendly link generation function that actually should replace special chars with "similar" latin chars. From a quick look it seems that Russian cyrillic chars are not completly included in that function. Probably because my system (Mac OS X) didn't list them in its char table from where this list was assembled. I will try to correct that. Meanwhile you could modify the titlelink manually, check the edit titlelink checkbox to do that. That overrides that seofriendly clearing. Regarding the content/extracontent it seems there was a htmlentities() leftover within the edit pages that never cause issues but of course was not really tested with Cyrillic chars. I did a test to remove it and it seems not really necessary anymore. I have uploaded the fix to the Zenpage svn. Please try if that solves that for you, too. how disble tinymce in zenpage - Odaria - 04-12-2008 acrylian, thanks a lot, it works! ps: with categories I managed by myself. I noticed that I can't modify category titellink (it doesn't save modyfied, left emty), so first I give latin name to category title ( category titellink is already the same), after it I can change category title as I want. how disble tinymce in zenpage - acrylian - 04-12-2008 Great, I hope it breaks nothing else..:-) I will see to the titlelink creation problem soon, it is supposed to work automatically. |