-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[6.0] Gsoc2021 35228 merge featured #43907
base: 6.0-dev
Are you sure you want to change the base?
Conversation
@chmst There are still code style issues, e.g. unused imports ( |
I thought the policy was deprecated in x and removed in x+2 ? |
@chmst I've allowed myself to fix the conflicts. Please check the result. |
administrator/components/com_content/src/Controller/ArticlesController.php
Outdated
Show resolved
Hide resolved
administrator/components/com_content/src/Model/ArticlesModel.php
Outdated
Show resolved
Hide resolved
The PR has the support of the Enhancement Development team. This is still something the team wants to talk to the maintenance team and the release managers for 6.0 about: we do think it would make future changes to the core simpler if this PR was merged early on and tested throughout the 6.0 pre-release cycle. |
@obuisard thats what is always said and the fixes never happen. Once it is merged then the people behind it move on to other things. |
Adding the following code in the DisplayController will prevent old URLs to fail with 500 error but be redirected to the 'articles' view instead.
|
In my opinion, " - select featured - ", "featured", "unfeatured" sounds better. |
# Conflicts: # administrator/components/com_content/forms/filter_featured.xml # administrator/components/com_content/src/Model/FeaturedModel.php # administrator/components/com_content/src/View/Articles/HtmlView.php # administrator/components/com_content/src/View/Featured/HtmlView.php # administrator/components/com_content/tmpl/featured/default.php
The filter needs to be changed. It cannot be featured / unfeatured but also needs a value "all". -- select featured -- |
Pull Request for Issue # .
This Pull request rewrites the #35228 as meanwhile many changes were made.
The purpose of theis PR is to merge the "featured" articles into the articles classes and remove duplicate code from com_content
This PR changes only the backend, nothing in frontend.
Summary of Changes
See PR #35228
Additionally the quickicon "featured".
Testing Instructions
as described in #35228, plus a view on quickicons
If you test on an existing site, please do this as first step:
UPDATE
#__menu
SET
link
= 'index.php?option=com_content&view=articles&featured=1'WHERE
link
= 'index.php?option=com_content&view=featured'AND
client_id
= 1;Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
See PR #35228
Link to documentations
Please select:
Documentation link for docs.joomla.org: help doc and tbd
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: tbd
No documentation changes for manual.joomla.org needed