Timeline for Editing the "Send private message" link to include the username
Current License: CC BY-SA 4.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8, 2022 at 11:26 | history | edited | avpaderno♦ |
edited tags
|
|
Jul 25, 2021 at 3:06 | vote | accept | j0e | ||
Jul 22, 2021 at 11:16 | answer | added | sonfd | timeline score: 2 | |
Jul 22, 2021 at 11:00 | comment | added | sonfd | Yes, or you could even override the service and extend this method. See How to override a service. | |
Jul 22, 2021 at 9:17 | history | edited | leymannx | CC BY-SA 4.0 |
Remove the hacking parts
|
Jul 22, 2021 at 9:14 | comment | added | leymannx |
Can't you maybe preprocess the link and then check for $variables['element']['#prefix'] === '<div class="private_message_link_wrapper">' and then simply replace the $variables['element']['#title'] ?
|
|
Jul 21, 2021 at 23:24 | comment | added | j0e | I don't mind patching instead of hacking. But the question remains... | |
Jul 21, 2021 at 12:09 | history | rollback | avpaderno♦ |
Rollback to Revision 5
|
|
Jul 21, 2021 at 12:02 | comment | added | sonfd | Don’t hack a module. Create a patch with your change and apply it with composer. | |
Jul 21, 2021 at 11:37 | history | edited | Pierre.Vriens | CC BY-SA 4.0 |
deleted 4 characters in body
|
Jul 21, 2021 at 9:34 | history | edited | avpaderno♦ | CC BY-SA 4.0 |
improved formatting
|
Jul 21, 2021 at 7:44 | history | edited | leymannx | CC BY-SA 4.0 |
added 96 characters in body
|
Jul 21, 2021 at 7:29 | history | edited | j0e | CC BY-SA 4.0 |
deleted 366 characters in body
|
Jul 21, 2021 at 6:56 | review | First posts | |||
Jul 21, 2021 at 11:37 | |||||
Jul 21, 2021 at 6:54 | history | edited | j0e | CC BY-SA 4.0 |
added 62 characters in body
|
Jul 21, 2021 at 6:48 | history | asked | j0e | CC BY-SA 4.0 |