Download and install Joomla! 3.7 beta 3 with "Learning Joomla!" demo pages.
Enable modern routing with removing ID option.
Execute somewhere, e.g. in template view, the following code:
$route = ContentHelperRoute::getArticleRoute(8);
$sef = JRoute::_($route);
echo $sef;
It must return the following URL:
/using-joomla/extensions/components/content-component/article-category-list/beginners.html
Instead, it returns a URL with ID:
/using-joomla/extensions/components/content-component/article-category-list/8-beginners.html
Sorry if I misunderstood the new routing system, but for me it looks strange.
Labels |
Added:
?
|
Yes you can do this per component but you need to enable this for e.g. com_newsfeeds again etc. and there is no general switch just a per component switch ;)
For com_content this is the right place to enable this :)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-04 10:30:56 |
Closed_By | ⇒ | zero-24 |
Where did you enable that option? com_content? Can you try to change that code in com_content?