Member
Member
altert   2009-10-22, 21:42
#1

Hello

I don't know if that's a bug or I'm missing something. I have bilingual site, and if I edit language dependent fields from admin interface (e.g. image title) from admin interface everything works great. However - if I edit title field via ajax edit from front side, both language versions of title get replaced by the one I change in currently chosen language. (I've checked the database - title is saved in plain text there - not in language serialized version)

Alexey

Member
Member
sbillard   2009-10-23, 02:19
#2

The Ajax editing is not (and cannot be) multilingual. So if you have a multilingual site, don't use it.

Member
Member
altert   2009-10-23, 17:38
#3

thanks for answer. By the way - why i cannot be multilingual? To change editinplace function I need to read serialized data, and replace data with current language - what do you think it could be possible so I could try to hack it?

Member
Member
sbillard   2009-10-24, 01:38
#4

YOu could try that if you think you can make it work.

Member
Member
Joe   2009-12-13, 01:13
#5

I am trying to use the multilingual features of zenpage (admin editing) Everytime I save a page with both English and Polish, I get this error Warning: array_shift() [function.array-shift]: The argument should be an array in /zenphoto/zp-core/functions-i18n.php on line 400 I have tried deleting the page and adding it back and still same result. The titles and gallery seem to working fine, it is just the content pages in zenpage.

Member
Member
sbillard   2009-12-13, 01:42
#6

Can you please locate the database record for the page giving you this error. Please post the content of the database field for the item you are trying to edit.

Member
Member
Joe   2009-12-13, 05:55
#7

I guess this is the problem.. record is --->a:2:{s:5:"en_US";s:780859:"Chapter One - Proble... This is content field in table zp_zenpages_pages.. The title field is--->a:2:{s:5:"en_US";s:25:"Chapter One - (1884-1899)";... The sort order field is blank. I am not using UTF-8 in php, but I am checking all the title links to be sure they don't have any special characters. and yes.. thank you for zenphoto.. it is fantastic.. very well designed and coded. It also lost its parentid and got set to NULL. maybe I don't have something set correctly. All the other pages that have only English work fine.

Administrator
Administrator
acrylian   2009-12-13, 09:17
#8

I don't think that we have support for ajax inline editing of the Zenpage page content on the theme. I actually have actually never tested at all.

Member
Member
sbillard   2009-12-13, 18:15
#9

Well, probably I need to see the whole field text. (Sorry if it is a lot, maybe an example with just a small bit would be better?). The question is whether the field is a properly formatted serialized array. It is a serialized array (which it should be for multilingual). The only "susupect" is that the data is not unserializing properly.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.