Hey, i have used a jdownloads category as menuentry. Here i display some modules. If i change to a subcategory, the modules wont display anymore. The cause is of missing the menupath in the url. Can this be fixed?
bad link to subcategory is:
index.php/downloads/category/<subcategorynumber>-<subcategoryname>
good link to subcategory would be:
index.php/joomlamenuentry/category/<subcategorynumber>-<subcategoryname>
I think the Problem is $catlink in com_jdownloads/views/categories/tmpl/default.php:
$catlink = JRoute::_("index.php?option=com_jdownloads&view=category&catid=".$cats[$i]->id."&Itemid=".$cats[$i]->menu_itemid);
Hi
Do you mean a jDownloads Menu link to a single category such as shown in attached pic? This works fine for me.
The generated code is <a href="/single-subcat-link">Single SubCat Link</a> where 'single-subcat-link' is the menu item alias.
Or do you mean a link to a subcat in a content item like {jd_file category==4 count==5} where "category==4" is the chosen sub category id and "count=5" is the number of items. This later one actually lists the items in the category directly.
Or perhaps do you mean you copied a link like <a href="/list-all-a-categories/category/3-topcat-v19-sub1-blahblah">topcat-v19-sub1</a>
or ..?
Basically where did you get the link from in each case.
Colin
[gelöscht durch Administrator]
Like attached pic i have a menuitem with a single category. This single category have some more subcategorys in.
Visiting the menuitem give me the expected view with my modules i set. After visit a subcat there, my modules which was attached to that menuitem are gone.
Hi
Not sure what you mean by 'modules' in this context by
QuoteHere i display some modules
Could you perhaps send pic of screen. How did you 'attach' them? Was it a Layout you modified?
Note when you go to one of the sub categories of the category you initially showed it is not the same 'page'
Colin
Hey i did some photoshop here :)
If i click on "subcategory 1" you come to screen 2 without the modules from the first pic. But here i got a module which is attached to other menuitem where i come to all categorys.
[gelöscht durch Administrator]