Page 1 of 2
Parameter change not showing in second language
Posted: 04 Mar 2009, 10:00
by belindab
I just changed the parameters for the description text - color of the box and the text itself. This works fine in my default language.
When I switch to a second language, the changes do not show up.
I cannot find anywhere in Joomfish to translate the parameters, it seems that the second language is working on the old version.
Is this possibly related to the error below?
Code: Select all
Warning: Invalid argument supplied for foreach() in /home/ddfbrode/public_html/ddf/administrator/components/com_joomfish/contentelements/translationSectionFilter.php on line 67
and the debug output 500 error
Code: Select all
JDatabaseMySQL::query: 1054 - Unknown column 'c.section' in 'where clause' SQL=SELECT DISTINCT section.id, section.title FROM jos_sections as section, jos_phocagallery as c WHERE c.section=section.id ORDER BY section.title
If you can advise how I can resolve the issue of getting the parameters to be the same in both versions of my site, I woudl be grateful. Please see
http://www.ddf-broderie.com
Joomla 1.5.8. / Joomfish 2.0.2 / Phoca 2.1.0
Thanks - the site is ALMOST complete, so this is part of the final tweaking before formal launch. You help will be much appreciated.
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 10:43
by caro84g
Hi,
in Joomfish you can copy the menu item parameters. That's where you need to change this (or make sure the 'global' is used)
Regards, Carolien
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 16:12
by belindab
Thanks for the tip, Carolien. I have found the settings under Phoca Gallery Control Panel, under Menus in Joomfish.
But something strange is happening.
I made sure to do Manage Transalations for the Menus. When I went in to Joomfish to translate the Phoca Gallery Control Panel, the original language was still showing the parameters as they were before I changed them (but they have changed if you actually view the site).
So I changed the second language to the values I wanted anyway and Saved them, but they are not displaying on the site. I cleared my browser caches, reloaded my browsers, tried logging in as a new user, cleared the Joomla Joomfish cache - still not showing the new values.
Going back into Joomfish now, the original language still shows the old values (which are not the ones displayed) and the second language shows my updated values (which are not the ones displayed).
Any idea how I can get back to some kind of 'situation normal' ?
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 16:46
by caro84g
Hi,
If I understand you correctly everything in the default language is normal. So if you would disable Joom!Fish (by disabeling the JFrouter) everything works as it is suppose to.
Could you confirm this?
If so, then it's a Joom!Fish problem (not a Phoca Gallery)
then Check in a couple of places that the parameters are the same everywhere:
- Components > Phoca Gallery > Control panel > Parameters
- Menu > Your Menu > Your Phoca Gallery menu item > component - parameters
- Components > JoomFish > Translation > menus & languages > your Phoca Gallery menu item
Regards, Carolien
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 17:25
by belindab
I can't turn off Joomfish at the moment, as translation is going on for other parts of the site. But yes, you are right that all is working ok in the default language.
caro84g wrote:then Check in a couple of places that the parameters are the same everywhere:
- Components > Phoca Gallery > Control panel > Parameters
Yes, they are correct, as I want them, and as displayed
caro84g wrote:- Menu > Your Menu > Your Phoca Gallery menu item > component - parameters
This shows the settings from the Control Panel in square brackets, none of these have been overridden
caro84g wrote:- Components > JoomFish > Translation > menus & languages > your Phoca Gallery menu item
This shows the settings as they were before I changed them this morning.
So somehow, Joomfish has not picked up the changes that have been made.
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 17:52
by caro84g
Hi,
what happens when you create a new translation for the menu item?
Regards Carolien
P.S. if you accidently changed the menu type: Joom!Fish can't handle that.
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 18:50
by belindab
Ah, now I have had to move my menus around, as I have changed the template I am using. The Phoca Control Panel got moved from a side menu to a top menu. But I didn't change the type.
However, I tried a few things just now - and after setting the new values into the fields of the menu item for the top level of the gallery, I found that when I went into Joomfish, it had those new values showing for original language.
So then I changed the values in the second language... no change to the display for that though.
Do you have any idea how I can resolve this, if Joomfish can't handle the changes I have made? Is there some way to force it?
Thanks for your help, much appreciated.
Re: Parameter change not showing in second language
Posted: 04 Mar 2009, 19:45
by caro84g
Hi,
I suspect the problem came with moving the item from one to another menu. So the easiest thing to do is to delete the translation and create a new one. - Then Joom!Fish should be able to handle the changes in the parameters well (even if you change them later on - just don't do any big changes - like changing type)
Regards, Carolien
Re: Parameter change not showing in second language
Posted: 05 Mar 2009, 12:43
by belindab
Hi,
I have tried deleting the translation. It now shows all the right values on the Joomfish translate page, but it still doesn't display the changes that I have made when you view the gallery images.
Any other suggestions?
Re: Parameter change not showing in second language
Posted: 05 Mar 2009, 12:48
by caro84g
empty cache (in tools > empty cache)
Regards, Carolien