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.
Stumble across this module. looks awesome, smoother than of using theme_node_submitted. But I have some questions.
First, is it possible to use time ago instead of a date with this module? Maybe its possible with another module that works with this?
Lastly would it be possible to use this on comment submit for different node types as well?
Comments
Comment #1
NancyDruHmm, I have added a [last-edit-since] token for the node created date, but not a [comment-since]. I guess I should work on that.
Yes, you can specify different formats for each content type. As a matter of fact, you have to go to admin/content/node-type (Content type admin page) to set it up. There is a separate setting for both the node and the comment appearance.
Comment #2
NancyDruCommitted to -dev.
Comment #3
detot CreditAttribution: detot commentedisnt [last-edit-since] changed when the node is resaved? looking for something link [node-created-since]
Comment #4
NancyDru[created-since] committed to -dev.
It would help a lot if you would encourage the Token maintainers to add these things where they belong.
Comment #6
HongPong CreditAttribution: HongPong commentedWould it be possible to get this token for [created-since] to work on the Submitted By line -- so that we can have the "last comment X time ago" in the main node teaser submitted_by line? Please close if this is not feasible, but it would be helpful.
Comment #7
HongPong CreditAttribution: HongPong commentedI was able to get this working in node.tpl.php with
I documented snippet at http://drupal.org/node/1795072 . Thanks