-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[5.2] Fix for missing Fulltext Image in Newsfeeds #38058
base: 5.2-dev
Are you sure you want to change the base?
Conversation
@AndySDH Could you fix the code style errors reported by drone here https://ci.joomla.org/joomla/joomla-cms/55308/1/6 ? Thanks in advance. |
@richard67 Should be done :) |
@AndySDH Not really. There are still some complaints: https://ci.joomla.org/joomla/joomla-cms/55316/1/6 |
@AndySDH Still not ok: https://ci.joomla.org/joomla/joomla-cms/55320/1/6 . |
Well it's going in circles a bit. If I take out those spaces, the indentation will look off. I'm not sure that's a valid complaint there, not sure. |
@AndySDH It is a valid complaint. The indentation of the “=“ and the lines below do not need to be aligned. Furthermore the lines below should be indented with tabs. I would also suggest to put the operators “?” and “:” of the ternaries to the beginning of a line and not the end of the previous line. And I would indent the 2nd ternary by one tab more than the first one. Maybe check how it is done elsewhere. |
This pull request has been automatically rebased to 5.1-dev. |
Hello, this needs some tests please! |
Confirmed this works. ✅ |
I have tested this item ✅ successfully on b2d557e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38058. |
This pull request has been automatically rebased to 5.2-dev. |
Hey there, can this please be merged? |
You need to fic the codestyle issues https://ci.joomla.org/joomla/joomla-cms/76705/1/7 |
How do I fix? Didn't it use to be automatic with the click of a button? Can't see it anymore |
No you have to fix it in your branch and push the changes |
And what is the fix I need to make? I can't tell from the phpcs log, it's not very clear. |
Co-authored-by: Brian Teeman <brian@teeman.net>
Thank you, committed :) |
As requested, Joomla 4.2 re-do of Pull Request #28195
Summary of Changes
Originally Joomla RSS Newsfeeds were completely missing the image_intro and image_fulltext. This was partially fixed with this PR: #11402
But that only introduced the image_intro, and forgot the image_fulltext.
So an article that had an image_fulltext would not use that image in the feed.
This PR simply adds the image_fulltext to the feed if the image_intro is empty, for both the category view and featured view.