[4.0] blog.php Scrabble96 patch 4#26160
[4.0] blog.php Scrabble96 patch 4#26160Scrabble96 wants to merge 14 commits intojoomla:4.0-devfrom Scrabble96:Scrabble96-patch-4
Conversation
The existing instructions are for Joomla 3x
Update en-GB.com_templates.ini
4.0 dev correct PR 201908151704
4.0 dev updated 201908171108
4.0 dev Merge from origin 2019-09-01
Remove two lines of code (lines 79 and 84) as IE11-related and irrelevant
|
Ok. I'm a bit confused (as usual). @Quy The original lines 79 to 84 were like this: I removed the first and last line, so it should have looked like this for lines 79 to 82 inclusive:
I don't know why the opening and closing php tags are not lined up. They were when I edited the file in my repository. @zero-24 You are asking me to change the single php code with two items into two separate php items like this:
PHP is definitely not my field of expertise, so could you explain why they need to be two separate instructions? Thanks. |
|
And what does 'Resolve conversation' mean? |
Re-aligned php tag in line 79
|
Sorry (again). I'm looking at Github's instructions (https://help.github.com/en/articles/reverting-a-pull-request) but do not see 'Revert' anywhere: It might be easiest just to close this one and start all over again. |
Thanks Co-Authored-By: Quy <quy@fluxbb.org>
|
@N6REJ that is nothing to do with this PR. Please create your own issue instead of introducing new issues to an existing pr |
|
There's some CSS associated with It will need to be updated. |
In that case, why not just leave the file as it was and only remove the IE11 comment from the file instead of the whole div? |
|
If those nested divs were added only because IE needed them, it would be nice to have them removed. SCSS changes are pretty simple. Just need to move |
Ignore - commented incorrectly, so removed it. |
|
Relevant SCSS code is linked in the comments above. |
Sorry, yes, that's why I removed my comment. I couldn't see how to delete it. |
|
Ok. I've looked at the scss files, but as I have zero experience using scss I can't offer to change this code. There's some code for |
@brianteeman |
|
@Scrabble96 @SharkyKZ I believe what he's saying is you could move 157-197 flex-direction: column;
.boxed & {
background-color: #fff;
box-shadow: 0 0 2px rgba(52, 58, 67, 0.1), 0 2px 5px rgba(52, 58, 67, 0.08), 0 5px 15px rgba(52, 58, 67, 0.08), inset 0 3px 0 $cassiopeia-template-color;
.item-content {
padding: 25px;
}
}
.image-left &, .image-right & {
flex-direction: row;
}
.item-image {
margin-top: 3px;
margin-bottom: 15px;
overflow: hidden;
.boxed & {
margin-bottom: 0;
}
.image-right & {
order: 1;
}
.image-bottom & {
order: 1;
margin-top: -15px;
}
}
.item-content {
.image-left & {
padding-left: 25px;
}
.image-right & {
padding-right: 25px;
}
}
.image-left &, .image-right & {
flex-direction: row;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
and move it between 93 & 94 so that it would be this..
.blog-item {
padding: 0 ($cassiopeia-grid-gutter / 2) $cassiopeia-grid-gutter ($cassiopeia-grid-gutter / 2);
display: flex;
flex-direction: column;
.boxed & {
background-color: #fff;
box-shadow: 0 0 2px rgba(52, 58, 67, 0.1), 0 2px 5px rgba(52, 58, 67, 0.08), 0 5px 15px rgba(52, 58, 67, 0.08), inset 0 3px 0 $cassiopeia-template-color;
.item-content {
padding: 25px;
}
}
.image-left &, .image-right & {
flex-direction: row;
}
.item-image {
margin-top: 3px;
margin-bottom: 15px;
overflow: hidden;
.boxed & {
margin-bottom: 0;
}
.image-right & {
order: 1;
}
.image-bottom & {
order: 1;
margin-top: -15px;
}
}
.item-content {
.image-left & {
padding-left: 25px;
}
.image-right & {
padding-right: 25px;
}
}
.image-left &, .image-right & {
flex-direction: row;
@include media-breakpoint-down(sm) {
flex-direction: column;
}
}
}
you could then remove the empty
.blog-item-content {
} |
|
@N6REJ Adding unrelated changes to a pull request complicates matters. Just because someone is changing a file does not give carte blanche to request every line in that file be reviewed or changed. Patches should focus on a singular change only. |
@mbabker ty. As you know I would never presume I have carte blanche, but your response explained things better. Thanks |
|
ugh, I always make a mess... @Scrabble96 hope that helps you. |
|
@mbabker This is not an unrelated change. SCSS must be updated to account for markup changes in this PR. Otherwise the styling is broken. |
|
Not the SCSS, the other question about the item var assignment. |
|
I'm not sure what I'm supposed to be doing, now. @N6REJ has made the SCSS changes into his own branch, but it appears to have failed checks, so if I tried the same thing, wouldn't it have the same result? This PR is showing as 'All checks have passed' What happens next?. |
|
Failed checks unrelated. If SCSS changes are not included in this PR then #26208 should be merged first before this can be tested. In the meantime could you remove the second instance of the same code and fix indentation? |
I've deleted a branch hope that's achieved what you want which is I think where the other instance of the changed file was. This repo thing is very, very confusing to a new user. |
|
@N6REJ No. Thats not what I said. You have to submit them as pr here https://github.com/Scrabble96/joomla-cms/tree/Scrabble96-patch-4 |
|
@brianteeman if that doesn't fix it I give up.. idk how to do anything else. |
|
If true then this would also need to be closed |
|
@N6REJ and @brianteeman I have no idea what's going on now. PRs have been submitted to my patch. What do I do with them? If I click 'Resolve conflicts' it just highlights some code but doesn't say what the conflict is. I suspect that my original change to the SCSS has been outdated by @ciar4n's changes for mobile-first code in PR #26237. |
|
Ok. I'm going to close this. If someone else wants to start again they are welcome. |

Pull Request for Issue #26123 .
Summary of Changes
Removed two lines of code (79 and 84) as IE11-related and not necessary.
Testing Instructions
Create com_content category override. Remove the two lines from blog.php
Create or view a category blog.
Expected result
The blog should display correctly
Actual result
Documentation Changes Required