If I understand it correctly, you mean something like this: - The user has a list of possible values, for example: 18 Monday 09 9 September Sep 2006 06 - Then he can construct a date format by dragging the elements in a rectangle/textfield and adding punctuation characters or static text. - A "template" for that text is created, for example "%M %j, %Y" I already had something like this in mind (specifically for pathauto) and volunteer to code the front-end part. Am 06.12.2006 um 12:53 schrieb Bèr Kessels:
Hi,
new-user-emails, welcome-mails, pathauto, newsletters, themes, auto_nodetitles and so on. Just a few random examples of token-replacement. Drupal has nothing in this regards, every module on its own, resulting in a lot of code-overhead, inconsistency and all the other downsides of not having a central/ modular design.
Are there any projects on this? Any APIs, libraries, or exsisting modules that do what I need: centralise token replacement? Or even an existing patch or issue that I missed?
What need, more specific, is: * Present the user/admin with a list of available tokens (% username, %site etc) in a help message. * Parse these by replacing tokens with the value of a variable.
Konstantin Käfer – http://kkaefer.com/