Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
4.0.3 file_download_list problems
Anybody else getting bad links outputted from txp:file_download_list as posted here?
I am dead in the water and don’t know what to do.
Refresh Dallas and other Refreshing Cities.
Offline
Re: 4.0.3 file_download_list problems
I haven’t had time to upgrade from 4.0.2 to 4.0.3 yet, so I haven’t encountered anything like this. My only two thoughts would be [1] to make certain the latest version of include/txp_file.php got uploaded, and [2] until someone comes along with a solution, you can comment out your current code and replace it with a version that uses domain.com/files/yourfile.pdf for the link. At least they will be accessible until you find the problem.
TextPattern user since 04/04/04
Offline
Re: 4.0.3 file_download_list problems
Thanks reid, using <a href="/files/<txp:file_download_name />"><txp:file_download_description /></a>
works until I figure out what is wrong with txp:file_download_link.
Refresh Dallas and other Refreshing Cities.
Offline
#4 2006-01-06 22:26:48
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 4.0.3 file_download_list problems
txp:file_download_list is still working for me in 4.0.3. There is one thing I noticed in your handcoded link: it’s pointing to /files/name_of_file, and as far as I know txp:file_download_link creates a link to /file_download/id. Could that have anything to do with the problem?
Offline
Re: 4.0.3 file_download_list problems
No, see my above post, I took reid’s suggestion and created the link directly to /files/name_of_files without using txp:file_download_link because its /file_download_link was not working. It would just pull up a blank page in firefox and file not found in IE.
Last edited by tinyfly (2006-01-06 22:30:57)
Refresh Dallas and other Refreshing Cities.
Offline
#6 2006-01-06 22:43:37
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 4.0.3 file_download_list problems
Yes, I saw that, sorry. I was thinking that you might have changed the code in the past to alter the /file_download/ output for some reason, but I see that’s a bit far-fetched.
Offline
Re: 4.0.3 file_download_list problems
Can we keep this in one topic, instead of in two? I have responded in the other topic.
(The download-list is not the issue here, since the list looks absolutely fine. It’s your download-links that are not working, I have made suggestions in the other thread).
Offline
Re: 4.0.3 file_download_list problems
> tinyfly wrote:
> Anybody else getting bad links outputted from txp:file_download_list as posted here?
Yes – exactly like that.
But I didn’t upgrade anything… it was working, but just seems to have broke while I was working on another part of my site. After reading this thread I’ve used <code><a href=”/files/<txp:file_download_name />”><txp:file_download_description /></a></code> too, but I’m displaying an mp3 download chart so I need to use the file_download link if possible.
I really have no idea where to start looking for a fix.
Offline
Re: 4.0.3 file_download_list problems
Let’s close this thread and post any issues like this on my other thread here. Sorry for posting twice about the same thing.
Refresh Dallas and other Refreshing Cities.
Offline
Pages: 1