Uploads module - only one upload template?
-
sabernar
Uploads module - only one upload template?
Is it possible to have multiple upload templates? I have several different upload pages and I need the templates to be slightly different. Is there a way to do this? In the Upload Module admin there is only one Upload Template.
Thanks.
Thanks.
Last edited by sabernar on Mon Jun 19, 2006 10:08 pm, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload templte?
I just added this into the svn version of the uploads module, and it should be ready for 1.0
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload templte?
When is it going to be released?
Last edited by sabernar on Mon Jun 19, 2006 10:11 pm, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload template?
I'm planning to time it for release when CMS 1.0 comes out, don't know when that'll be, but within the next couple of months I would predict.
The new version of Uploads uses the event model from the CMS 1.0-svn core, so it's kinda glued to 1.0 now.
The new version of Uploads uses the event model from the CMS 1.0-svn core, so it's kinda glued to 1.0 now.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload template?
Is there anyway around this? I can't wait for the release of 1.0 and I'd be a bit nervous about upgrading all of CMSMS when I'm so close to launching the site for my client. Is there anyway for me to be able to use multiple upload templates? Maybe rip out some of the code from the Upoad Module and create some User Defined Tags with them? I have a bunch of different uploads on the site that I'm creating, and this is one of the last things holding me up, so any and all help is greatly appreciated.
Thanks!
Thanks!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload template?
check the help for the uploads module, there are some parameters for specifying different file based templates.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload template?
Really? Where? I checked the Uploads module Help and didn't see anything about usign separate file-based templates. I'm using Uploads 1.1.9
Thanks in advance.
Thanks in advance.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload template?
Uploads 1.1.14 is available on the forge.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload template?
Cool, thanks. Which brings me to another question. What's the easiest way to upgrade a module without screwing everything up. I tried a while back and had to undo my changes because things got all screwy. Is there a simple way to do it? Thanks.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload template?
Well if you hacked the PHP of the module, then uhm, no, there's no easy way to upgrade.
If you haven't hacked the PHP, then it should just be a matter of installing the package overtop of the old one inside the modules directory, and going to Extensions->Modules and clicking Upgrade on the appropriate row.
If you haven't hacked the PHP, then it should just be a matter of installing the package overtop of the old one inside the modules directory, and going to Extensions->Modules and clicking Upgrade on the appropriate row.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload template?
The upgrade to 1.1.14 worked great. One last question: When I submit a file, it just goes back to the upload form page instead of to a Thank You page. Is there anyway to get it to go to one?
Thanks!
Thanks!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Uploads module - only one upload template?
I don't think so. sorry.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
sabernar
Re: Uploads module - only one upload template?
I wonder if I could have a a smarty script surrounding the cms_module call to the Uploads module that would check for a hidden value submitted from the custom upload template that I created. If the $_POST['formSubmitted'] exists, then don't show the module, but show a Thank You message instead.
What do you think?
What do you think?
-
sabernar
Re: Uploads module - only one upload template?
So, should I go out on a limb and assume know one knows how to do this? Any help would be greatly appreciated.
