Posted by agerson on October 8, 2009 at 12:10am
Jump to:
| Project: | Date |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Confirmation email:
[author-name], You have been confirmed for our meeting [title] on [field_date-view]
Resulted in:
admin, You have been confirmed for our meeting Website/Weekly Meeting on
October 9, 2009 - 9:00am
Comments
#1
ahhh, perhaps this is expected behavior "The formatted date." I would love a token for the exact same value but without the html.
#2
A) When you're posting HTML into an issue, don't forget to wrap it with
<code>tags so that the HTML is visible. ;) Luckily, I'm a site admin here, so I could visit the edit tab for your issue and view the raw source, but for future reference, here's what was written:admin, You have been confirmed for our meeting Website/Weekly Meeting on<span class="date-display-single">October 9, 2009 - 9:00am</span>
B) Signup module is just invoking token module to replace the tokens. If you want new tokens, that's a feature request against the module providing the tokens, not the one where they're being used. In your case, sounds like you're asking for a new token to be provided for date fields. Moving this to the right queue.
Cheers,
-Derek
#3
So this is the only token date tag with HTML. Is this intentional?
#4
How can you make a raw date token???? This isn't good for dates that are inserted into titles using rules or auto-node-title.
#5
I used to be able to delete the html elements from the date theme, but now I can't even find where the html for the date token is stored so I can delete it. What file makes this html show up in a node title when using tokens? Beats me! Any help would be appreciated, hack or otherwise.
#6
How about a patch along these lines? It looks like the folks at this other module have this figured out, but I'm not sure where similar changes would be made to the date module: http://drupal.org/node/538244
#7
A workaround for excluding HTML in titles that use dates with the rules module: http://drupal.org/node/619234
#8
Please see #423502: Add plain format without any HTML for a patch which adds plaintext formatters.
I guess this is not enough yet, since the [field_date-view] token still gets the 'default' format, not the 'default_plain' format.
So someone who knows token stuff, please see if you can use this, to work with.
#9
sorry if I'm posting on the wrong issue, it's the only one I found with a similar problem.
I'm using core 7.8, date 7.x-2.x-dev, rules 7.x-2.0-rc2.
I have a rule configured to periodicaly send an email reminder of an event to the users who have flagged the event, and the email (not html formatted) contains the date field information (using the date token for that), so the result is the same indicated above "
<span class=".....>Once I can't use the workaroud indicated (no theming or html formatting in the email body), is there another way of solving this?
thanks