Closed (fixed)
Project:
Token
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2008 at 15:44 UTC
Updated:
11 May 2009 at 15:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
sammys commentedHi,
Thanks for submitting this patch. I'm also wanting this to be added in though the version i'd like it added to is 6.x-1.x. Before this patch will be applied i'm pretty sure they'll want the equals sign '=' characters to line up above it. Could you reroll the patch for that?
Also, have a look at the use of the format_date() function in the patch i'm attaching for the D6 version. Since it's already being used in the D6 version perhaps you can backport all the other tokens (if they aren't already).
I'm going to bump it to the D6 version and then we can backport to the D5 version.
IMPORTANT: This token is needed for publishing and unpublishing nodes using rules.
Comment #2
gregglesThis no longer applies...can you re-roll for 6.x-1.x-dev?
Comment #3
gregglesActually...maybe hold off for a little bit while I work on another token extras module...
Comment #4
sammys commented@greggles: Not sure what you're doing over there but it applies for me. :p
This being a system level token doesn't it make sense for it to be in the main token module?
Comment #5
sammys commentedOk now that's weird... All those bits have been removed from 1.11. I'll let you get on with it!
Comment #6
gregglesFixed in #437842: create a token starterkit module and documentation so people know how to use it.
If you can review that and make sure it works that would be great. Thanks!
Comment #7
sammys commented@greggles: The starterkit module is a good idea as tokens can be daunting for noobs. However, adding the timestamp token to it means you have to install the starterkit module in order to make available a site-wide token. It doesn't make sense to do that since it's an example module and the timestamp is a valid non-example token.
Comment #8
greggles@sammys - I definitely see where you're coming from and struggled with this point for a bit. Ultimately, though, there is a penalty in UI and performance to jamming every last token into token core so token starter kit is a combination of "help noobs" and "random, less useful token dumping ground."
We can argue which tokens are more or less important for a long time - so far I'm going to use my best sense of it. Having two people request this feature over the 2 years since token was created ranks it pretty low in importance, in my opinion.
Comment #9
sammys commentedYep ok. Thanks for the info.