Hi.
I use zenphoto version 1.2.3 [3469] | zenpage version 1.1 [3469] |
PHP Version 5.2.8 - mysql 5.0.67
When I try to edit a page already published through the Zenpage admin panel, I only get its text in the language actually selected but the other fields for the other languages are blank even if they are filled (the text is displayed for people visiting the web site).
Any idea ?
EDIT
In fact this seems to be more tricky. Sometimes some traductions appear, sometimes not. Then if you save the page with some blank fields (which already contained the text though), they are saved as blank.
Hope it's clear.
I will try to reproduce it.
sbillard, if I remember correctly you did you fix something for the multilingual feature recently? Was the print_language_string_list function envolved? The problem is that Zenpage features a separate function print_language_string_list_zenpage because of different input field sizes needed. Probably the changes were not made there and we probably should join this function with the main Zenphoto one and add built sizes for the different usage... Will investigate that.
More, I found the same problem with
zenphoto version 1.2.3 [3429] | zenpage version 1.0.1 [3429]
PHP Version 5.2.8 - mysql 5.0.67
Besides I noticed another very weird problem with this one :
I regurlarly get some "ghost" articles which don't have any text nor title but that have a permalink containing a part of other good article permalink (or wierder, a permalink like "favicon.ico").
By "ghost" I mean that I've never saved or edited them, I don't know how they are generated, saved and stored in the database.
Right now, the only thing that I can do is to delete them, but they finaly appear again with a different permalink.
For example, imagine that I have a regular article which permalink is "regular-article"
then I get (sometimes) another "ghost" article which permalink is "regular-arti" which I've never edited.
Will we really all die at the end ?
If it was not a typo: Here once again the note that Zenpage 1.0.1 is not compatible with Zenphoto 1.2.3! You need to upgrade at least to 1.1.
For the ghost page/article that was a bug with the 404 page handling and you have to update to the nightly/svn where this has just been fixed.
Ok, I've upgraded this one
(zenphoto version 1.2.3 [3429] | zenpage version 1.0.1 [3429])
to the last nightly
(zenphoto version 1.2.3 [3475] | zenpage version 1.1 [3475]) .
I had this message while upgrading Zenpage :
Creating the database tables for zenpage: Table [code]zp_zenpage_news[/code] has been successfully created (or already exists). Table [code]zp_zenpage_news_categories[/code] has been successfully created (or already exists). Table [code]zp_zenpage_news2cat[/code] has been successfully created (or already exists). Table [code]zp_zenpage_pages[/code] has been successfully created (or already exists). Table update failed! Error: Duplicate entry '' for key 2
I still get the problem in my first message (When I try to edit a page already published through the Zenpage admin panel, I only get its text in the language actually selected but the other fields for the other languages are blank even if they are filled (the text is displayed for people visiting the web site). More : sometimes an english field is marked as french (and vice versa).
Zenpage isn't already translated in french till it joined the main official Zenphoto package ?
More :
Actually I'm wondering if there is not a problem with tinyMCE and the multilingual plugin.
For example, if french language is actually selected and displayed in my admin panel, when I want to add a link in an article, the link edit popup displays weird things like :
{#advlink_dlg.url}
{#advlink_dlg.list}
{#advlink_dlg.anchor_names}
{#advlink_dlg.target}
{#advlink_dlg.titlefield}
But if english language is selected, the link edit popup displays the good strings :
Link URL
Link list
Anchors
Target
Title
Class
Re:1-3 No problem of course want that to work generally and since it did before it must be related to Zenphoto's multilingual changes. It has top priority for me currently if that helps....
Re tinymce: That might be, but should not affect tinyMCE in general. Strings like "{#advlink_dlg.titlefield}" are actually just untranslated tinymce strings. It uses its own js way for translations and is probably not able to have several instances with several translations.
I just found some time to dig into this.
Well, just tried I can reproduce the confusing behaviour in multilingual mode (content of german becomes content of the english string etc). I have to admin I have no idea currently. the two language strings list functions I mentions seems not to be different for their basic functionality... Guess I need some help by the "chief" here...
Update: Must be a Zenpage issue as I can't reproduce it with album descs or title...
I also can see the tinymce issue. Weird is that some of the buttons contain a translation (german as the selected main language in my case). I actually can't remember if that hasn't been that way for ever. Do you maybe since you use the multilingual feature more extensive than I actually do? Anyway, I am not sure if anything can be done if that is.
Yep, sbillard sent a fix I will test today (I am sure it works though). It will be in tonight's nightly for sure. Sorry, it seems this issue is my fault, I did miss a detail while restructuring Zenpage (well, there is a reason why sbillard is the "chief", isn't it..:-)).