Raw value tokens
Grantovich - July 24, 2008 - 15:34
| Project: | OpenPackage Video |
| Version: | 5.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | jbrown |
| Status: | closed |
Jump to:
Description
This might come in handy for people who want to do their own formatting on the video tokens. The patch adds "-raw" counterparts to the duration, views, views_completed, downloads, and filesize tokens (the rest of them already return unformatted values). I also changed the token descriptions for better consistency and clarity. Did some basic testing on my site and everything seems to work as expected.
Hope I'm doing this patch thing right...
| Attachment | Size |
|---|---|
| raw_tokens.patch | 2.95 KB |

#1
nice work Grantovich!
I applied it with some further improvements: http://drupal.org/cvs?commit=129821
#2
Automatically closed -- issue fixed for two weeks with no activity.