- 🇳🇱Netherlands undersound3
Does anybody know if there is something like this available for 6.x or can we use this patch as a base to create a patch for the 6.x version?
- 🇸🇪Sweden Kevin N
I did a quick update of the patch for 6.0.0-rc1, haven't tested it much, but it seems to work.
- last update
over 1 year ago 91 pass, 1 fail - last update
over 1 year ago 91 pass, 1 fail - 🇺🇸United States jeff.hartman
My experience with the patch is that it works well with one main caveat... the "data-entity-substitution-extra" attribute is not automatically added to the when choosing the view.
If I add it manually in source, save, and then go to add another link to a view, the second link will have it add automatically.
Seems very odd and have been banging my head against the wall trying to figure out why.
- 🇬🇧United Kingdom robcarr Perthshire, Scotland
Like the idea of this patch and it's a shame the functionality isn't already there (pretty much every other entity type can be matched). Doesn't apply to 6.0 branch.
- 🇸🇪Sweden Kevin N
Did another quick tweak of the patch for 6.0.2 support.
Haven't tested it more than to see that linking views still work locally. - last update
about 1 year ago 91 pass, 1 fail - 🇸🇪Sweden Kevin N
Noticed an issue with the patch at #25 so i made an update for it (This is for 6.0.0-rc1)
- last update
about 1 year ago Patch Failed to Apply - Status changed to Needs review
7 months ago 10:16pm 24 April 2024 - Status changed to Needs work
7 months ago 10:31pm 24 April 2024 - 🇺🇸United States MegaKeegMan
Okay tried reviewing this on 6.1.x and unfortunately does not apply
- Status changed to Needs review
7 months ago 11:19pm 24 April 2024 - 🇺🇸United States MegaKeegMan
Changed all instances of "View display" to "View page", since all displays with a path are page displays, as far as I know. And improved my patch name.
- 🇺🇸United States danflanagan8 St. Louis, US
The patch in #35 did not work for me. I get the Views showing up in the linkit widget, yes, but I can't select anything (View or otherwise). I keep getting js errors like:
ReferenceError: substitution_extra is not defined
which points to the new line in js that the patch adds:
$getAttributesInput('data-entity-substitution-extra', $context).val(substitution_extra);
and then sometimes I'm getting this js error:
Pattern attribute value \<front\>|\/|\/[^\/]+.*|\?.*|#.*|.*\(\d+\) is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /\<front\>|\/|\/[^\/]+.*|\?.*|#.*|.*\(\d+\)/v: Invalid escape