jDiction Forum

English => General Questions => Topic started by: cmjonit on January 10, 2014, 11:35:52 pm

Title: Linking Languages with Menu items
Post by: cmjonit on January 10, 2014, 11:35:52 pm
I created a new menu item called English and linked it to index.php/en but when you click on it on the front page it browses to index.php/en/en generating an error. The Jdiction module works alright. What value should I put in the Link parameter to avoid this URL confusion.

Thanks
Title: Re: Linking Languages with Menu items
Post by: Harald Leithner on January 10, 2014, 11:39:02 pm
You could use the module (jd_languageswitcher)

normally if the menu item is a link it maybe have to be an absolute link, but I'm not sure.

What happens if you call the url /index.php/en in the browser? does it work?
Title: Re: Linking Languages with Menu items
Post by: cmjonit on January 11, 2014, 01:33:06 pm
Hi, let's say if the site is on URL/index.php/en and you call URL/index.php/en, the result is URL/index.php/en/en.

How do I use jd_languageswitcher in a menu item?

Thanks
Title: Re: Linking Languages with Menu items
Post by: Harald Leithner on January 11, 2014, 01:45:18 pm
this could be a problem with the accesslevel in the content language

admin->languages->content->edit language->save language

this could solve the problem.