Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After changing the node template to two columns using display suite, I noticed the send author a message link disappeared. I looked in the issue database and were only able to find the code for the 1.2 version which is not longer working. I'm wondering if I can turn the send author a message link to a field and add it to DS.
Comments
Comment #2
oadaeh CreditAttribution: oadaeh as a volunteer commentedIf you use the Computed Field module, you probably can, although I haven't tried it with DS, so I'm not 100% positive.
Comment #3
xiaomo CreditAttribution: xiaomo commentedThank you for your help on this. I may not be doing this right because it doesn't work
I created a computed field and replaced Computed Code (PHP) with the following code. Tried with and without the ?php
Nothing shows up when I assign the field to display region.
Comment #4
xiaomo CreditAttribution: xiaomo commentedWith my limited code knowledge, I tried something different and the variable is not concatenating.
it will only redirect to /message/new
Comment #5
oadaeh CreditAttribution: oadaeh as a volunteer commentedBased on this:
I would say you need something more like this:
Comment #6
ivnish CreditAttribution: ivnish commented