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.
See Acquia Slate for an example of how this can be done.
Bartik code is here: http://github.com/jensimmons/Bartik
Comments
Comment #1
dmitrig01 CreditAttribution: dmitrig01 commentedComment #2
dmitrig01 CreditAttribution: dmitrig01 commentedhttp://github.com/dmitrig01/Bartik
Comment #3
jensimmons CreditAttribution: jensimmons commentedYour commits wouldn't apply for some reason (the GitHub site has been buggy all day), so I manually made the changes on my version.
Comment #4
jensimmons CreditAttribution: jensimmons commentedIt's not working for me. The authoring info disappeared.
Comment #5
jensimmons CreditAttribution: jensimmons commentedComment #6
Bojhan CreditAttribution: Bojhan commentedVery worried by this, why should we change this on a theme level? This should be core level. And we are in UI freeze.
Comment #7
jensimmons CreditAttribution: jensimmons commentedYeah, it was an idea I had. I think it's a good idea. But perhaps a good idea for D8. If that's what people-in-the-know are saying, then D8 it is.
Comment #8
jensimmons CreditAttribution: jensimmons commentedOh, and in response to my comments above, Dmitrig's code did work, I just somehow didn't have a good copy of it. When I tried it later (after someone else cleaned up the Bartik code) it totally worked.
Comment #9
RobLoachI'm not convinced this is the right way to do it. What happens on multi-lingual sites where if you set published by to "This was Published by an awesome dude", a person visiting from France wouldn't see "C'a été Publié par un type impressionnant". This might better be done by Locale or http://drupal.org/project/stringoverrides .
Comment #10
mcrittenden CreditAttribution: mcrittenden commentedNo patch here, setting to active, and adding 'global' to the title.
Comment #11
mcrittenden CreditAttribution: mcrittenden commentedComment #12
RobLoachStephthegeek also brought up http://drupal.org/project/submitted_by . So I'm leaning towards setting this to by design, but I could be convinced otherwise! It would be possible to bring parts of its ideology into! ;-)
Comment #13
Bojhan CreditAttribution: Bojhan commentedIt seems no one is noticing the "version 8.x-dev" , we will discuss this later - it can actually be an improvement to the whole of core.
Comment #14
bill richardson CreditAttribution: bill richardson as a volunteer commentedUnassigned - no work for 5 years.
Wording has been changed from published by to assigned by already in D8 -- it is very simple to change this in eg. node.html.twig template. So question the need / desirability of introducing a global setting for this.
Setting to needs review - imho should be closed (won`t fix ).
Comment #15
joelpittetNeeds review isn't the right status. But agree nobody has worked on this in a while. I'm not sure how important this is/was. Feel free re-opening if you would like to work on this.
Feel free to port the module form #12 if you feel it's needed as that has a bit more functionality per node type.