Upload Module - File upload confirmation?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
zygote
New Member
New Member
Posts: 8
Joined: Mon Apr 19, 2010 7:20 am

Upload Module - File upload confirmation?

Post by zygote »

Hi, Sorry if this is a basic question:
What is the code to display a confirmation that a file has been uploaded?
I tried,

{cms_module module="Uploads" category="Abstracts" mode="detailed" }

{cms_module module="Uploads" category="Abstracts" mode="single" }

but I get only errors about a file_id?

I tried
{cms_module module="Uploads" category="Abstracts" mode="summary" }
but it outputs nothing.

Thanks for your patience.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Upload Module - File upload confirmation?

Post by jmcgin51 »

you want to display the files that have been uploaded in a given category, or you want a message to be displayed after each upload, confirming that the file was uploaded ("thank you - your upload was successful!")
zygote
New Member
New Member
Posts: 8
Joined: Mon Apr 19, 2010 7:20 am

Re: Upload Module - File upload confirmation?

Post by zygote »

Thanks for your reply,
The second - some kind of "thank you - your upload was successful!" message. If that is not possible, then the first option would be fine.
zygote
New Member
New Member
Posts: 8
Joined: Mon Apr 19, 2010 7:20 am

Re: Upload Module - File upload confirmation?

Post by zygote »

No, when I upload a file using the form, it uploads correctly (the file is on the server) but the page that loads after the upload just has the upload form there, no success message. :(
owr_bgld

Re: Upload Module - File upload confirmation?

Post by owr_bgld »

in the settings you can put in a page-alias for linking after upload - so if you make a page with "Thanks for the upload" you have this effect.

The only thing is to have two pages - one for the (first) upload and a second with the "Thank you" - and eventually the form for the upload (or a link back to the upload-page)
zygote
New Member
New Member
Posts: 8
Joined: Mon Apr 19, 2010 7:20 am

Re: Upload Module - File upload confirmation?

Post by zygote »

Thanks!  :D
This did it!

Code: Select all

<p>Success - your file has been upload successfully.</p>
{Uploads category="my-category" mode="upload" detailpage="my-upload-sucess-page-alias"}
Thanks for all your help, this is at least the minimum needed to be usable now.

CMSMS is just fantastic... just wish this (surely common?) module was documented a bit more thoroughly.

Any further help would just be gold though.

I used the uploads module instead of my own module for the advanced features available, and to not be able to use them is just frustrating:

- I cannot get a category listing to work either using:

Code: Select all

{Uploads mode="summary" category="my-category" }
Again just results in no output from the command, even when files are in the category. If I change the category, it has an error saying category not found, so it is definitely setup correctly.
Post Reply

Return to “Modules/Add-Ons”