[Solved] Default language and frontend publishing

This forum contains all bugs reported in beta2 and prior versions. As we already released a new version, we recommend you to upgrade. Support for 2.0 beta versions is discontinued.
Forum rules
You can not post new bugs here. Please upgrade to new version, which is already available.
2.0 Beta versions are no longer supported.

[Solved] Default language and frontend publishing

Postby Rick_Blaine on Wed Jun 18, 2008 11:29 am

Good morning and thanks for this great component. I will donate as soon as I get next months wage ;-)

I am a Joomfish 1.8 satisfied user and I'm in the process of migrating all my sites to Joomla 1.5. Since Joomfish is approching its final state of developement before becoming RC/Stable version, I'm doing some testing here and there. So far everything seems ok (almost perfect!), but I've found a major issue and I don't know where it may come from.

Here is my config:

Joomla 1.5.3
Joomfish 2.0 Public Beta 2
Four languages installed (EN, FR, ES, IT). Default frontend language is set to FR. Original content articles are written in french (FR).

Issue:
Publishers can edit FR transalated content from frontend, and changes are inmediately published and shown on frontend. They can also edit ES content, but then changes are not inmediately published. Through backend I then see that original for the spanish content has switched to to "modified" (yellow), so I have to copy the "new" original content to the translated field to be correctly shown. How can I fix that? What am I doing wrong?

Thanks for you help.
Last edited by Rick_Blaine on Wed Jun 18, 2008 12:52 pm, edited 1 time in total.
Rick_Blaine
Newbee
 
Posts: 2
Joined: Wed Jun 18, 2008 11:10 am

Re: Default language and frontend publishing

Postby ivo.apostolov on Wed Jun 18, 2008 11:37 am

Isn't the original changed because you edited the french article?
User avatar
ivo.apostolov
Contributor
 
Posts: 3245
Joined: Sat Oct 20, 2007 10:39 am
Location: Sofia

It was JCE Editor plugin...

Postby Rick_Blaine on Wed Jun 18, 2008 12:51 pm

Thanks for you reply. After further testing, this is what it's going on:

- Default language is french. Original articles are writteng in french.
- I then have them translated into spanish and published through backend, and even if not necessary, I also published the french version.
- When I modify articles in french through the frontend, the new version is published inmediately.
- When I modify the spanish version, it is not pubished inmediately and, more strange, through backend I can now see that the spanish version have become the original ones (shown through content/items).........................................................

I think I found it: I was using JCE Editor plugin, once I switched it to TinyMCE now the behaviour is fine... Sorry for the inconvenience.

By the way, do you guys kno why this is happening? Who should fix the issue, JCE or Joomfish team? ;-)
Rick_Blaine
Newbee
 
Posts: 2
Joined: Wed Jun 18, 2008 11:10 am

Re: [Solved] Default language and frontend publishing

Postby ivo.apostolov on Wed Jun 18, 2008 1:47 pm

Well, we can not fix the editors.
User avatar
ivo.apostolov
Contributor
 
Posts: 3245
Joined: Sat Oct 20, 2007 10:39 am
Location: Sofia

Re: [Solved] Default language and frontend publishing

Postby happy_noodle_boy on Wed Jun 18, 2008 9:19 pm

This is not really a JCE or a JoomFish issue, but can be fixed easiest in JoomFish.

The issue relates to the fact that the TinyMCE function updateContent called in the JoomFish 'copyToClipboard' function does not exist in TinyMCE 3, and the equivalent function, tinyMCE.activeEditor.load, has not been included in the TinyMCE 3 compatability plugin.

I would recommend using tinyMCE.setContent() instead, by changing the TinyMCE part of the copyToClipboard function to:

Code: Select all
if ( typeof(tinyMCE)=="object") {
    ed = document.getElementById("refField_"+value);
    ed.value = innerHTML;
    tinyMCE.setContent(ed.value);
}


The other option is to add the updateContent to the compatability plugin (but I would recommend the former):
Code: Select all
updateContent : function(c){
    tinyMCE.activeEditor.load(c)
}
happy_noodle_boy
Newbee
 
Posts: 3
Joined: Wed Jun 18, 2008 9:12 pm

Re: [Solved] Default language and frontend publishing

Postby happy_noodle_boy on Wed Jun 18, 2008 10:55 pm

Come to think of it, and considering that JCE 1.5.0 Stable wil be out some time on Friday, I'll have a go at 'fixing' this via the compatability plugin.
happy_noodle_boy
Newbee
 
Posts: 3
Joined: Wed Jun 18, 2008 9:12 pm

Re: [Solved] Default language and frontend publishing

Postby Geraint on Thu Jun 19, 2008 9:54 am

HappyNoodleBoy

Hope you didn't spend to long figuring this out - viewtopic.php?f=28&t=1319&p=5708&hilit=jce#p5694

Joomfish 2.0 final will include the updated code.

Geraint
Joomfish club members can get priority forum support at the Support Forum. As well as access to a variety of custom Joomfish addons and benefits.

Join the Joomfish club today!
Geraint
Core Member
 
Posts: 2289
Joined: Sat Oct 20, 2007 9:13 am

Re: [Solved] Default language and frontend publishing

Postby teddy on Thu Jun 19, 2008 10:30 am

may I ask you why the final only and not RC as well?
maybe it means the final version is going to be released soon?
teddy
Contributor
 
Posts: 43
Joined: Mon Oct 22, 2007 1:04 pm

Re: [Solved] Default language and frontend publishing

Postby Geraint on Thu Jun 19, 2008 10:58 am

You read too much into a small typo - it will be in the release candidate.

The more testing and quality feedback we get the sooner we get to the release

Geraint
Joomfish club members can get priority forum support at the Support Forum. As well as access to a variety of custom Joomfish addons and benefits.

Join the Joomfish club today!
Geraint
Core Member
 
Posts: 2289
Joined: Sat Oct 20, 2007 9:13 am

Re: [Solved] Default language and frontend publishing

Postby happy_noodle_boy on Thu Jun 19, 2008 11:58 am

Geraint wrote:HappyNoodleBoy

Hope you didn't spend to long figuring this out - viewtopic.php?f=28&t=1319&p=5708&hilit=jce#p5694

Joomfish 2.0 final will include the updated code.

Geraint


cool, cos I haven't got it working yet :?
happy_noodle_boy
Newbee
 
Posts: 3
Joined: Wed Jun 18, 2008 9:12 pm


Return to Beta, Beta 2 and prior version bugs

Who is online

Users browsing this forum: No registered users and 0 guests