• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Uploads-Module: form doesn't react
PostPosted: Thu Feb 09, 2012 11:42 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 27, 2009 2:00 pm
Posts: 42
Hello,

maybe someone can help me with this.
I use the Uploads-Module with 5 categories. These are static and displayed like folders with the categorysummary action:
Code:
{cms_module module="Uploads" action="categorysummary" template="summarytemplate" sortorder="name_asc" listingtemplate="listtemplate" listingsortorder="listsortorder"}


The summarytemplate creates links with namelink:
Code:
{foreach from=$items item='entry' name='uploads'}
{$entry->namelink}
{/foreach}


When you select one of those links the listtemplate returns all the files of that category and displays the upload form:
Code:
{foreach from=$items item='entry' name='uploads'}
{$entry->upload_name}, etc.
{/foreach}
{cms_module module="Uploads" category=$category_name mode="upload" nocaptcha="1" noauthor="1"}


But that form unforunately doesn't work - when you press "submit" nothing happens!
When I put the upload form directly on a page and write the categoryname (for instance category="mycategory") it works.

I'm getting really frustrated - can anybody help me with this?

Thx, Stefan

*edit*
Maybe this is a clue:
when I call the uploadform from a page the URL is standard:
Code:
http://www.mysite.com/index.php?page=sitename

when I call it from within the Module the url is
Code:
http://www.mysite.com/index.php?mact=Uploads,cntnt01,default,0&cntnt01category=Formulare&cntnt01mode=summary&cntnt01sortorder=listsortorder&cntnt01template=listtemplate&cntnt01returnid=121


could this be the problem, and if yes does anybody know how I can get it to work?

Thx again


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Fri Feb 10, 2012 6:50 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3652
Location: The Netherlands
try this:
in stead of
Code:
{cms_module module="Uploads" category=$category_name mode="upload" nocaptcha="1" noauthor="1"}

put this in your template:
Code:
{$category_name}

What is the output? If it doesn't give you the category name, you'll know where to look ;)

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Sat Feb 11, 2012 12:28 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 27, 2009 2:00 pm
Posts: 42
Hello Jos,

Thx for your tip, I've checked but category_name works as it's supposed to and has the correct name in it.
I also thought the problem is with the form call itself since the form works when called from a page.
The submit-button doesn't react at all – no error or page refresh or anything else …

Button looks right – this do at least something
Code:
<input type="submit" value="Absenden" name="m9f6dainput_submit">


Any other ideas?


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Mon Feb 13, 2012 8:52 am 
Offline
Forum Members
Forum Members

Joined: Tue Oct 27, 2009 2:00 pm
Posts: 42
I know, it's not nice to bump but I need this and it's urgent ...
Maybe someone can point me in the right direction?

Thx again!


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Tue Feb 14, 2012 5:18 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11818
Location: Arizona
We use it for the theme site and use a different uploads form for each category...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Tue Feb 14, 2012 7:23 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 27, 2009 2:00 pm
Posts: 42
Hi,

a different form for each works, but I'd prefere to have a form in each "folder"
A dropdown would also be okay, but I didn't get far with that approach aswell. It works to pass the selected item to a template that calls the form, but then again – submit button doesn't react …

If it doesn't work I'll have to make it with one form for each folder, but right now I'm not willing to give up …
So if anybody has another idea, I'll give it a try ;)


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Mon Apr 23, 2012 7:14 am 
Offline
Forum Members
Forum Members

Joined: Thu Sep 04, 2008 3:49 am
Posts: 109
Location: Hawaii
Hi Stephan,
I know this thread is kind of old but did you ever solve this? I've run into the same thing embedding a call to the upload form when using the categorysummary mode.
Thanks!
Alane


Top
 Profile  
 
 Post subject: Re: Uploads-Module: form doesn't react
PostPosted: Mon Apr 23, 2012 7:42 am 
Offline
Forum Members
Forum Members

Joined: Tue Oct 27, 2009 2:00 pm
Posts: 42
Hi Alane,
unfortunately I've never found a solution for this …

If you do please post it here ;)

br Stefan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting