Hello, I am building multilingual site based on Mercado template and I have noticed a bug. I looked on net and particularly on this forum, and it seems that other have same issue (with other templates as well), but have not explained it properly, thus there were no solution for this so far.
To replicate follow this steps:
1. Create multilingual site based on Jean-Marie Simonet tutorial (
multilingual-joomla-demo.cloudaccess.net...-steps-by-steps.html
) - I will not explain all steps of basic multilingual setup - install languages, publish language switcher, ...
2. Install Mercado
3. Make different menus for languages
4. Make copies of template styles for each language
5. In Template style of each language in "Menu" tab, option "Select a Menu" - select appropriate menu for that language
Trouble comes when you want to select menu-less pages. It is only possible to select menu-less pages in Master style and not in styles assigned to languages, so if item belonging to "All" languages is chosen, main menu specific to language will disappear. If menu item that belongs to some language is chosen, then for all other languages you will get warning similar to this:Warning: array_key_exists() expects parameter 2 to be array, null given in home/***/public_html/modules/mod_roknavmenu/lib/providers/RokMenuProviderJoomla16.php on line 43
Warning: Invalid argument supplied for foreach() in home/***/public_html/modules/mod_roknavmenu/lib/providers/RokMenuProviderJoomla16.php on line 185
Warning: array_key_exists() expects parameter 2 to be array, null given in home/***/public_html/modules/mod_roknavmenu/lib/providers/RokMenuProviderJoomla16.php on line 201
I would suggest update that will solve this issue - enable option to select menu-less page for each style.