How to get filesize in my theme?

A forum for Bolt related questions / issues

How to get filesize in my theme?

Postby luciandesign » Fri Mar 21, 2014 4:24 pm

Hello,

I've got i quick question. I want to show the filesize for a record ... I have a file field ... and in my theme i got {{ record.file }} to display the file ... but the question is how do i get the filesize like the one displayed on Bold admin backend (see attachment)

filesize.jpg
filesize.jpg (40.51 KiB) Viewed 3138 times
luciandesign
 
Posts: 1
Joined: Fri Mar 21, 2014 4:18 pm

Re: How to get filesize in my theme?

Postby Bob » Fri Mar 21, 2014 4:37 pm

You can't do this yet in your themes. sorry.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm


Return to Bolt Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron