Thanks everyone for suggestions
If I uncomment using //
// load the UL-generator class and produce the menu list dynamically from there
// require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
// $zen_CategoriesUL = new zen_categories_ul_generator;
// $menulist = $zen_CategoriesUL->buildTree(true);
// $menulist = str_replace('"level4"','"level5"',$menulist);
// $menulist = str_replace('"level3"','"level4"',$menulist);
// $menulist = str_replace('"level2"','"level3"',$menulist);
// $menulist = str_replace('"level1"','"level2"',$menulist);
// $menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
// $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
// echo $menulist;
in both files you mentioned:
/includes/templates/stirling_grand/common/tpl_mega_menu.php
/includes/templates/stirling_grand/templates/tpl_modules_mobile_categories_tabs.php
and add the link manually in the style:
echo "<a href=\"Link1\" title=\" Linktitle \"> Linktext</a>"
echo "<a href=\"Link2\" title=\" Linktitle \"> Linktext</a>"
then it will certainly stop the automatically generated links and display only the ones above, but it does not change the links if an another language is chosen. E.g. somebody visiting the page in German would always see the (manually entered) links in English.
One possible solution I see is to make
domain1 - only English content
domain2 - only German content
It is possible to do this I found out by entering only an English or German description/name for the category/product (and ignoring the CEON warning that mappings could not be created as a result).
The Multi Side module can be configured to show English products on domain1 only and German products on domain2 only.
But then the language selector in sideboxes/languages_header.php will need to be edited to auto generate instead of
domain1/product-in-english?language=de
http://www.domain2/product-in-german?language=de
Does anyone know how to add
http://www.domain1 for one language flag and
http://www.domain2 for the other flag?