User tests: Successful: Unsuccessful:
If there is no menu item for supplied layout then use fallback to menu item without layout, for all cases.
For example, a menu item with type Category List
has the link index.php?option=content&view=category&id=2
to "Uncategorised" category.
The sef URL looks like 'index.php/uncategorised'
If we create an article with link index.php?option=content&view=category&id=2&layout=blog
and there is no any menu item with layout blog then above menu item won't be used.
If there exists at least one blog for other category then the menu item will be found.
If we add url like index.php?option=content&view=category&id=2&layout=default
to the article then menu item won't be found.
Category List
for Uncategorised category.Uncategorised
category:<p>Uncategorised with layout explicitly</p>
<p><a href="index.php?option=com_content&view=category&id=2&layout=default">Layout default</a></p>
<p><a href="index.php?option=com_content&view=category&id=2&layout=blog">Layout blog</a></p>
<p>Link to readmore with layout default <a href="index.php?option=com_content&view=article&id=1&catid=2&layout=default">Article</a></p>
Change routing for com_content component to modern/experimental.
Go to home page and check article links.
Check article link for button print
. (stay in home page - featured view)
Before patch links does not use menu item "Uncategorised".
After patch links uses the menu item.
Category | ⇒ | Libraries Unit Tests |
Status | New | ⇒ | Pending |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-08 20:22:36 |
Closed_By | ⇒ | csthomas | |
Labels |
Added:
?
?
|