Skip to content

[4.0] Follow-up adding category language to getCategoryRoute()#22022

Merged
laoneo merged 2 commits intojoomla:4.0-devfrom
infograf768:4.0-catlanguage
Sep 11, 2018
Merged

[4.0] Follow-up adding category language to getCategoryRoute()#22022
laoneo merged 2 commits intojoomla:4.0-devfrom
infograf768:4.0-catlanguage

Conversation

@infograf768
Copy link
Member

Pull Request to follow-up #21916 which has now been merged.

Summary of Changes

Adding the $language variable where missing when using getCategoryRoute()
Newsfeeds, Contact, mod_articles_categories, mod_articles_category, categories search plugin

Testing Instructions

Monolanguage: all should work as before.
Multilingual: info-block is not concerned as in #21916, but now all non menu links should work correctly for these components, modules, com_search for category name.

IMPORTANT:
One has to create a List All Categories menu item for articles as well as a List All Contact Categories and a List All News Feed Categories to cope with categories which do not have any specific menu item. This in order to get nice urls.

As the modifications are quite obvious, it can be merged on review.

@Hackwar @csthomas

@laoneo
Copy link
Member

laoneo commented Sep 11, 2018

Thanks

@infograf768 infograf768 deleted the 4.0-catlanguage branch September 11, 2018 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants