3rd level menu language switching fails

Threads related to Joom!Fish 2.0.x that were already resolved
Forum rules
Do not start new topics in this forum. This forum is for threads that are resolved and moved from the bug reporting forum.

3rd level menu language switching fails

Postby Geraint on Fri Apr 17, 2009 7:01 pm

A bug came in with the combination of Joomla 1.5.10 and Joomfish 2.0.3 where switchinf languages fails on 3rd level menu items

You should use this version of the module as a fix if you enounter this problem

Geraint
Attachments
mod_jflanguageselection.zip
(55.34 KiB) Downloaded 953 times
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: 1976
Joined: Sat Oct 20, 2007 9:13 am

Re: 3rd level menu language switching fails

Postby infograf768 on Sun Apr 26, 2009 6:00 pm

Thanks. Issue solved here.
infograf768
Contributor
 
Posts: 24
Joined: Wed Mar 12, 2008 6:52 pm

Re: 3rd level menu language switching fails

Postby evdoorne on Fri May 08, 2009 9:17 am

Hello, I have the bug with J 1.5.9. and Joomfish 2.0.3 as well (and with JF 2.0.1 as well). The updated module solved the problem anyhow.
evdoorne
Gold Member
 
Posts: 16
Joined: Mon Apr 06, 2009 12:01 pm

Re: 3rd level menu language switching fails

Postby kenny1703 on Mon May 11, 2009 5:12 am

Thanks for the fixed issue.
kenny1703
Newbee
 
Posts: 1
Joined: Mon May 11, 2009 4:24 am

Re: 3rd level menu language switching fails

Postby t0rit0 on Thu May 28, 2009 8:16 pm

Should i remove the mod_jflanguageselection module first?
t0rit0
Newbee
 
Posts: 5
Joined: Thu May 28, 2009 7:47 pm

Re: 3rd level menu language switching fails

Postby Tassu on Fri May 29, 2009 12:26 am

t0rit0 wrote:Should i remove the mod_jflanguageselection module first?

Just try installing it without uninstalling the old version.
Remember backups before making any major changes to your site.

You need more Joomla Support? May be Open Source Support Desk can help you!
User avatar
Tassu
Moderator
 
Posts: 1375
Joined: Wed Jan 23, 2008 9:06 pm
Location: Finland

Re: 3rd level menu language switching fails

Postby Kanana on Thu Jun 04, 2009 10:21 am

I have Joomla 1.5.10 and Joomfish 2.0.3.
Thanks for this module it fixed the issue ;)
Kanana
User avatar
Kanana
Newbee
 
Posts: 6
Joined: Thu Oct 23, 2008 3:40 pm

Re: 3rd level menu language switching fails

Postby Korvax on Mon Jun 15, 2009 12:22 pm

Thanks for the module, that worked.
Simply overwrite the existing files via ftp.
Korvax
Newbee
 
Posts: 2
Joined: Mon Jan 05, 2009 5:28 pm

Re: 3rd level menu language switching fails

Postby keukie on Fri Jun 19, 2009 11:58 am

Hi,

I found your new version of the module after I fixed the problem myself.
I did it a bit more efficient, I don't know if it's always correct (I think it is),
so I'm going to use your solution.

Here is what I did:

I added the line:
$menu = array_reverse($menu, true);
after the construction of the newmenu in function getJFMenu in mod_jflanguageselection\helper.php
That will sort your menu from parent to child, since it was constructed the other way around.

I must point out that your solution didn't work for me outright.
After some debugging I found out that the sublevels of all my menuitems were equal to 0.

I think this happened because my site was migrated from Mambo, which apparently doesn't fill in these values.

So if any of you also migrated from Mambo, and still don't get this working: correct your sublevels!

I will include an sql file to do this. If you don't use the jos_ prefix, or have more than five levels, you should change it to your needs.
Attachments
sublevels.zip
(291 Bytes) Downloaded 122 times
keukie
Newbee
 
Posts: 5
Joined: Tue Mar 31, 2009 4:32 pm

Re: 3rd level menu language switching fails

Postby macbeth8c on Sat Aug 01, 2009 12:54 pm

I had this issue with Joomfish 2.03 and Joomla 1.5.14-Stable :oops:
Thanks for the patch. I think it should be put in official version :mrgreen:
macbeth8c
Newbee
 
Posts: 1
Joined: Sat Aug 01, 2009 12:43 pm


Return to Joom!Fish 2.0.x Stable Solved Threads

Who is online

Users browsing this forum: MSN [Bot] and 0 guests