Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-07-12 21:04:49
- acheung
- New Member
- Registered: 2007-07-12
- Posts: 3
file_download_link
I have typed 3 consecutive lines of “file_download_link” in a textpattern page as followings:
<txp:file_download_link id=“1”>first.jpg</txp:file_download_link>
<txp:file_download_link id=“2”>second.jpg</txp:file_download_link>
<txp:file_download_link id=“3”>third.jpg</txp:file_download_link>
However, the problem is that whichever link I click to download the file, it always displays the name of the first file, “first.jpg”, in the download box. For example, when I click the 3rd link, I’d expect to see the corresponding file “third.jpg”. Instead, I see “first.jpg” ( the file corresponding to the first link ). Is there something wrong with my code? Can somebody please help and explain?
Thanks in advance.
——————————————————————————————————————————————————————
It turns out that this is a bug in version 4.0.4 and its easily fixible: http://textpattern.com/faq/244/file_download_-shows-same-url-multiple-timesLast edited by acheung (2007-07-13 13:22:44)
Offline
#2 2007-07-14 03:43:01
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: file_download_link
You should upgrade to 4.0.5 as soon as possible, there are a couple security fixes in it.
Offline
Pages: 1