Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-04-01 23:10:14
- tinchex
- New Member
- Registered: 2009-03-20
- Posts: 6
file download plugin?
Hi there. I was wondering if there is a plugin that allows you to put links to files (uploaded in the files tab) when you are writting a post in the write tab, but without code, i mean, like some friendly user’s interface that automatically adds the code.
Thanks in advance
Martin
Offline
#2 2009-04-01 23:37:55
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: file download plugin?
If you want to insert links in the text you are writing then I fear not (this has been a long time request for the hak_tinymce plugin – given that it offers a similar capability for images).
The only plugin which offers something vaguely near what you want is upm_file_popper (it lets you open a popup window listing all uploaded files – if I remember correctly).
If you want to display files related to the article instead, upm_file does the job perfectly.
Offline
#3 2009-04-02 01:29:13
- tinchex
- New Member
- Registered: 2009-03-20
- Posts: 6
Re: file download plugin?
Thank u very much for your quickly aswer. i’d installed upm_file, but nothing happens. i have the plugin working, the custom field updated, but then i go to write tab and there’s no file picker as i read that it has to be. i’m wrong or is it a wrong setting?
thank u once again
martin
Offline
#4 2009-04-02 09:13:46
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: file download plugin?
tinchex wrote:
…but then i go to write tab and there’s no file picker as i read that it has to be. i’m wrong or is it a wrong setting?
Martin,
You need to install also upm_file_popper to get the file picker.
If you want to use only upm_file then you have to manually insert a comma separated list of file ids in the appropriate custom field and to put in your page or article form something similar to this:
<txp:if_custom_field name="your_file_custom_field">
<txp:upm_article_file_list />
</txp:if_custom_field>
Offline
#5 2009-04-04 01:43:39
- tinchex
- New Member
- Registered: 2009-03-20
- Posts: 6
Re: file download plugin?
thanks, now i’m using the plugins and i had tweaked the post function so the code you gave me is added at the end of each post on the fly
Offline
#6 2009-04-04 13:51:54
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: file download plugin?
Glad you got it working (even if I don’t fully understand what you mean exactly with “…i had tweaked the post function…” ).
Offline
#7 2009-05-07 01:05:32
- larryb
- New Member
- Registered: 2009-05-01
- Posts: 3
Re: file download plugin?
Hello, Textpattern allows successful file uploads, but fails when attempting file downloads. How do I configure file_download ?? Thanks
Offline
Re: file download plugin?
yo larry.
first of all start a new thread, so everyone can find your request..
2nd be a bit more precise on your request.
maybe post a link and describe the error..
that may help me helping you.. or all the others around..
Last edited by jens31 (2009-05-07 09:31:07)
Offline
#9 2009-05-08 02:51:35
- larryb
- New Member
- Registered: 2009-05-01
- Posts: 3
Re: file download plugin?
Hello, file uploads work great. However Upon attempting a download of an existing file, an error occurs directing the browser to URL:
/textpattern/index.html/file_download/4/test_file.pdf
In the above path /index.html is the test site index
/4 is the ID# of the file
/test_file.pdf is the file name
Any ideas ??
Thanks
Offline
Re: file download plugin?
larryb
did you get this worked out?
And jens31 is correct. This would have been better as a new thread. Also, the exact error returned and other specific details are helpful. For example, what is your error? File Not Found?
Anyway, it’s been a while since I was doing downloads, but I suggest you check your file path. /textpatter/index.html/file_download/4/test_file.pdf doesn’t look right.
I think it should be something more like www.your_web_site.com/files/name_of_the_file
Offline
Pages: 1