Closed (fixed)
Project:
Submitted By
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 07:40 UTC
Updated:
26 Sep 2012 at 00:32 UTC
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 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 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 commentedI was able to get this working in node.tpl.php with
I documented snippet at http://drupal.org/node/1795072 . Thanks