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
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...

AttachmentSize
raw_tokens.patch2.95 KB

#1

jbrown - July 25, 2008 - 20:00
Assigned to:Anonymous» jbrown
Status:needs review» fixed

nice work Grantovich!

I applied it with some further improvements: http://drupal.org/cvs?commit=129821

#2

Anonymous (not verified) - August 8, 2008 - 20:15
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.