开发者

How to know when a Drupal Node is new

I want to do a list of new nodes. I went to the code for the path "admin/content/开发者_C百科node" which has a similar list, and I found it considers as "new" when the node timestamp is relatively close to the current date.

I'm afraid I can not trust on this method, because the timestamp is taken from the "changed" node field, and it gets updated everytime the node is updated (i.e: when an user "likes" a node)

Is there other reliable method to determine when a node is NEW? (I'm using Drupal5)

thanks


$node->created - assuming that is existed in D5

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜