Views option to open the more link in a new/tab window.
Using a view as shareable widget needs the option to open content in a new/tab window, but the more link doesn't have available that option.
| Comment | File | Size | Author |
|---|---|---|---|
| #33 | viewmore.gif | 73.77 KB | amietpatial |
| #29 | views-more-link-2743631-29.patch | 5.81 KB | vakulrai |
| #29 | interdiff-2743631-29.txt | 692 bytes | vakulrai |
| #22 | interdiff-19-22.txt | 671 bytes | hardik_patel_12 |
| #22 | 2743631-22.patch | 5.83 KB | hardik_patel_12 |
Comments
Comment #2
blanca.esqueda commentedComment #3
blanca.esqueda commentedComment #4
blanca.esqueda commentedComment #6
blanca.esqueda commentedComment #7
blanca.esqueda commentedComment #16
kristen polThanks for the patch. Not sure this would be accepted but I took a look at the code and noticed a couple small things:
Would be good to simplify to 'Open in new window' and use single quotes instead of double.
Don't need the "== true" part.
Comment #17
deepak goyal commentedHi @Kristen Pol
The patch #6 not applying on Drupal version 9.1.
So I have created new patch for version 9.1 please review and there were some coding standandard issues I also fixed that.
Comment #18
kristen polThanks for the update but the patch failed to apply via the testbot.
Comment #19
suresh prabhu parkala commentedRe-rolled patch please review!
Comment #21
kristen polThanks for the updates.
@Deepak Goyal and @Suresh Prabhu Parkala Please add interdiffs when you are updating patches to it's easy to see the changes, thanks: https://www.drupal.org/documentation/git/interdiff
Comment #22
hardik_patel_12 commentedTried to solve failed test cases. Kindly review a patch.
Comment #23
samiullah commented@hardik patel , I m not seeing any changes in view UI when i apply the patch.
Can u provide steps to test along with expected screenshots
Comment #24
kristen polI don't see it either.
Comment #25
kristen polI found the setting.
1) This is for more than just more links. I thought it was only for more links based in the title and issue summary.
2) See the alignment issue in screenshot.
3) Even after choosing it, it's not obvious from the top level because it just says "None".
4) It didn't work for me when I changed a view (recent content) to use it. The target wasn't added.
Comment #26
kristen polComment #27
naresh_bavaskarComment #28
naresh_bavaskarComment #29
vakulrai commented@Hardik_Patel_12 , #22 is working as expected for more link.
Though i have made one change in the following snippet :
This will take care of the alignment issue raised by #25.
Comment #30
vakulrai commentedComment #31
amietpatial commented#30 works fine on checking option "open in a new tab" and then clicking on "view more" it's opening on new tab .
Comment #32
amietpatial commentedComment #33
amietpatial commentedComment #34
quietone commented@amietpatial, thanks for verifying that this patch works! That is good to have recorded. There are other things that need to be done before setting an issue to RTBC. This one is tagged as needing an issue summary update, so that, at least needs to be done. There is more information about the process in the community guides, in particular reviewing patches has lots more details. One thing I like to keep in mind is that the issue should be easy for a reviewer to review and completely ready for the committer.
This is tagged as needing an issue summary update so setting to NW for that. Please add before and after screenshots to the issue summary so they can be found. And although I am not tagging this for tests due to my lack of knowledge of views, I suspect that is needed as well.