Hi Johan,
Tryed those "dirty" solutions with no luck. Tryed also Silvena solution also with no luck.
I've noticed what you report
At the bottom of the translation page for a K2_categories Menu Item in translation view there is a parameter called link.
Now the original for this param reads for instance:
index.php?option=com_k2&view=itemlist&layout=category&task=category&id=5
However the translation reads:
index.php?option=com_k2&view=itemlist&layout=category&task=y&id=
Is there a K2 solution for this?
I'm using joomla 1.5.20, with joomfish 2.0.4 and K2 v2.4
Thanks for any help..
Johan Nobel said:I had te same problem, but "solved it" in a not so correct way.
The main problem is the following:
In the original Menu Item "Fetch items from children catagories" is greyed out.
In my case this setting reads "Yes", although I have specified "Catalog mode: Yes" for this category in the K2 category manager (This imples "No" for fetch children items).
Of course I can set "Fetch items from children categories" to No in the translation for the menu. This does not solve the problem however.
At the bottom of the translation page for a K2_categories Menu Item in translation view there is a parameter called link.
Now the original for this param reads for instance:
index.php?option=com_k2&view=itemlist&layout=category&task=category&id=5
However the translation reads:
index.php?option=com_k2&view=itemlist&layout=category&task=y&id=
Modifying and saving does not help either, the task and id parts are emptied on save somehow.
When you see this it is logical that things go wrong for the translated item.
My quick and dirty fix was to copy the original link into the the value field in those records in the jf_content tables where reference_table=="menu " and reference_field == "link".
Alternative solution, but not tested
I figure that if there is no need to translate the link url, you could also modify the line:
field type="text" name="link" translate="1" posthandler="saveUrlParams" prehandler="checkUrlType"
change it into
field type="text" name="link" translate="0" posthandler="saveUrlParams" prehandler="checkUrlType"
in the the menu.xml file in the contentelements folder.
But I have not tested that, so there might be side effects!
Kind regards,
Johan