?
avatar Sieger66
Sieger66
17 Aug 2016

Steps to reproduce the issue

Joomla! 3.6.2 with articles
Make a new category.
Put one or more articles to this new category.
Make two new article-category-list-menuitems:
A and B
both for the same new article-category

Set in article-category-list-menuitem A -> Details-> Template Style -> Beez3

Set in article-category-list-menuitem B -> Details-> Template Style -> protostar

Expected result

Go to frontend and klick on menuitem A and see article-category-list with Template Beez3
Example:

/index.php?option=com_content&view=category&id=2&Itemid=108

show the link to a article in the list
/index.php?option=com_content&view=article&id=1:getting-started&catid=2&Itemid=108
Klick to this link and see the article with "Beez3"

Klick on menuitem B and see article-category-list with Template protostar
/index.php?option=com_content&view=category&id=2&Itemid=109

show the link to the same article in the list:
/index.php?option=com_content&view=article&id=1:getting-started&catid=2&Itemid=109
Klick to this link and see the article with "protostar"

Actual result

Go to frontend and klick on menuitem A and see article-category-list with Template Beez3
Example: /index.php?option=com_content&view=category&id=2&Itemid=108

show the link to a article in the list
/index.php?option=com_content&view=article&id=1:getting-started&catid=2&Itemid=108
Klick to this link and see the article with "Beez3"

Klick on menuitem B and see article-category-list with Template protostar
/index.php?option=com_content&view=category&id=2&Itemid=109

show the link to the same article in the list:
/index.php?option=com_content&view=article&id=1:getting-started&catid=2&Itemid=108
Klick to this link and see the article with "Beez3"

change the menuitem in the browser from "108" to "109" and you see the article with protostar

The article come allways with the self view and not always with the view from the menuitem-"Template Style"

The bug is the wrong link (to the single-article) in the article-category-list.

The menu-item-id in the article-link in the list is always the same

System information (as much as possible)

Additional comments

All menu-item-id and
/index.php?option=com_content&view=category&id= . . .
only for example and is need to use them from your Joomla if you want to reproduce the issue.

Similar problem is in the category-blog with the links to the single articles

avatar Sieger66 Sieger66 - open - 17 Aug 2016
avatar schnuti
schnuti - comment - 17 Aug 2016

As I understand this, you are trying to produce duplicate content.
The links in your two menu items should point to one and the same item including item id.
You can build more complex category trees but if you e.g. add menu items for the singe articles the links should always point to those article menu items.

If you do not have menu items for the articles, the router will find a first best fit. In your case the first menu item that includes the articles category = 108

To me this is expected and wanted behaviour.
If you manipulate the itemid in the URL, there are a couple of different results depending on the content of that menu item.

avatar brianteeman brianteeman - change - 17 Aug 2016
Labels Added: ?
avatar Sieger66
Sieger66 - comment - 18 Aug 2016

you are trying to produce duplicate content.

Yes, But it is only a example to reproduce the issue quickly.

For example if you in menu-item A change
Details to Access to "only for joomla group X"

and in the menu-item B change
Details to Access to "only for joomla group Z"
or/and
List Layout -> Oldest First or ...

and also articles in the category also to acsess:
"only for joomla group X" and some "only for joomla group Z"

then you have less duplicate content as for example between
Menue-item to featured-articles-blog and
Menue-item to category-blog to category with some articles who are featured-status.

avatar schnuti
schnuti - comment - 18 Aug 2016

Well, it's not a bug, so you have to find a backward compatible solution, code it and create a pull request that might be accepted by the PLT. If you personally need it, you might find a plugin event, where you can modify the itemid in the link/URL-query.

I guess Google is the one that tells the world what duplicate content is. I do not really care that much. More important to me is, that the item page (article) looks the same from where ever it's linked. One problem with the current router is that, in some cases, no or a wrong menu item id is found. Your idea doesn't make that issue easier to solve.

avatar Sieger66
Sieger66 - comment - 21 Aug 2016

Yes i agree with you and this issue can set to Closed.

Maybe with addition of the Label " Re-evaluate for v4.0 "


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11636.

avatar brianteeman
brianteeman - comment - 21 Aug 2016

Closed as requested

avatar brianteeman brianteeman - change - 21 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-21 16:49:36
Closed_By brianteeman
avatar brianteeman brianteeman - close - 21 Aug 2016

Add a Comment

Login with GitHub to post a comment