This is 3 minor changes you must do in the Joomfish 1.7 language selection module so that when a certain language is selected, the language is changed in SMF too. I chose to leave the original line commented out ( // ) but if you want you can delete it. So this is in my mod_jflanguageselection.php
Is this because of your elegant Joomfish mod, or something else do you think.
Thanks
Could you be more specific about what popups you mean, and what exactly happens, so i try it in my site? However, even without being absolutely sure what you refer to, i am almost sure i am not having that problem
Admin area help pop-ups I was wrong! The help in Admin IS working, but is wrapped in the site template and so I did not look carefully enough to notice the help content was actually there! Sorry.
See attached help_popup.jpg
the lang,en/" thing Wolverine asked:
Quote
Is this only happening in the admin? What I mean is if lang,en is appended to the other links in the site as well without problems?
Good point Wolverine. I checked, and yes, lang,en/" IS being added all over the place, but NOT causing any problems anywhere! The following source code screen grab is of the main page, in Turkish, which despite the lang,en/" works fine.
fuaank...yes my joomfish hack works with the latest version of jsmf(2.0.2). Why wouldnīt? What you are doing is setting the smf language variable, instead of by changing it in your smf profil, hacking it so it is passed by the url when you use the joomfish language selector.
Hm.. maybe there are some pre-requisites I am missing. I am using the jsmf bridge in non wrapped mode, I have joomla standard SEF turned on, and smf allow user to change language to off. Is that a problem?
Applying your hack causes no error message even with error reporting turned to maximum. It seems hard to find out what I am missing this way! The necessary languages are present in both joomla and smf and switching works fine within joomla itself.
I do not see a change in URLs when calling the forum after applying your hack(!) And: even when I call it like this
note that lang=es is the joomfish changing the joomla language, and the &language=spanish is the added bit of the hack, to change the smf language accordingly.
just got back from vacation and gave the issue another try. I turned off SEF, turned on maximum error reporting, turned on forum embedding, turned on language link display instead of the drop-down... all to be as close as possible to your settings... But it still doesn't work.
I do get the same link styles you mention and they only appear when I switch the language with the joomfish language selector while on the forum page. It changes the language in the joomla portions of the site but the forum menus just stay in the default language.
Nico, could you check if you have userLanguage setting in table smf_settings to 1 or 0? I have a feeling it is because I have this to 0 that it does not work. Turning it on however causes all kinds of problems including the copyright statement missing notice?!
ok, I just made it work. Allowing visitors to change smf language setting made all the difference.
The havoc wreaked when I first turned this on came from smf standard install coming with utf8 versions of german. After I manually reinstalled german in western ISO as is the rest of my site it was ok.
Hi there. Your hack works. The only problem that I have now is that joomlafish works *only* if I have a forum wrapped page visible otherwise not. Furthermore, I've tons of logs such as "Undefined variable: smflang".
note that lang=es is the joomfish changing the joomla language, and the &language=spanish is the added bit of the hack, to change the smf language accordingly.
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use