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.
When enabling location_www, you can configure the location field so that it accepts an url.
This url is never shown when the field data is rendered, because it is missing from the location.tpl.php template.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2836048-4.patch | 689 bytes | SpadXIII |
|
Comments
Comment #2
SpadXIII CreditAttribution: SpadXIII as a volunteer commentedA small patch that adds the www to the location.tpl.php template
Comment #3
SpadXIII CreditAttribution: SpadXIII as a volunteer commentedComment #4
SpadXIII CreditAttribution: SpadXIII as a volunteer commentedMade a typo in the label. Fixed with new patch.
(see also https://www.drupal.org/node/2566417)
Comment #5
Vali Hutchison CreditAttribution: Vali Hutchison commentedPatch in #4 worked for me. And as is a template file then can simply copy the file over to your theme and make the patch there.
Comment #6
gg24 CreditAttribution: gg24 as a volunteer and at QED42 commentedPatch applied cleanly and works as intended. Issuing RTBC.
Thanks!
Comment #7
tinker CreditAttribution: tinker commentedConfirm patch applies cleanly and works. +1 RTBC.
Thanks for the patch.