Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-09-10 17:57:46

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

txp:file_download_size not working in 4.2.0?

Not sure if this is a bug…. I upgraded a site to 4.2.0 and now file sizes aren’t showing up in my file download lists.

Form name: files
Form type: file

<txp:file_download_link><txp:file_download_description escape="" /></txp:file_download_link>
<div class="download_size"><txp:file_download_size /></div>

I’ve tried to cover my bases… checked and double-checked my code. Let me know if I am just missing an obvious mistake or could this be a little bug?

thx.

Last edited by photonomad (2009-09-10 17:58:19)

Offline

#2 2009-09-10 22:58:26

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp:file_download_size not working in 4.2.0?

<txp:file_download_size /> is working fine on my upgraded sites. At first sight I don’t see anything wrong with your code, does the tag trace tell you something?

Offline

#3 2009-09-12 04:40:29

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: txp:file_download_size not working in 4.2.0?

I did a Tag Trace and didn’t see any issues or errors (thanks Els for reminding me of that feature). Still stumped, I decided to upload a new file (I hadn’t uploaded any files since upgrading to 4.2.0). The file I uploaded showed up with a file size while all of the others still did not. So I downloaded each of the files, then replaced them one at a time by re-uploading the exact same files as replacments. All of the file sizes showed up after the replacement. I don’t what is up with my installation… maybe just a one-time quirk?

Offline

Board footer

Powered by FluxBB