Page 1 of 1

uploads module: add simple downloads link to a news page... not working for me

Posted: Thu Jan 29, 2009 5:50 pm
by broony
Anyone got any idea of a solution for this? :-\

On  any ordinary content page i can add {cms_module module="Uploads" category="catname" mode="link" upload_id="24"}
with this I get a download file name with a working link, it is counting downloads within the uploads module -  Perfect.

If i add the same to the news module. When I click the link it gives the error

Warning: Parameter upload_id is not known... dropped in /home/public_html/cms1/lib/misc.functions.php on line 1301

I found a fix for other problems referring to cleaning (?) 
http://forum.cmsmadesimple.org/index.php/topic,28836.0.html

and implimented the change
($cnt = 0; $cnt < (sizeof($handlers) - 2); $cnt++) { ob_end_clean(); }
but I still have the same error.
i would like to be able to add the uploads module simple link tags to my news pages but I can't get them to work.
Any help really appreciated.
PS: I am using cmsms 1.4.1 and uploads mod 1.3.1
cheers
e

Re: uploads module: add simple downloads link to a news page... not working for me

Posted: Fri Jan 30, 2009 1:56 pm
by broony
anyone got any ideas?
Thanks !

Re: uploads module: add simple downloads link to a news page... not working for me

Posted: Mon Jul 13, 2009 10:05 pm
by Rednes
same problem here...I have this problem with formbrowser when choosing link as mode.

Also, detailed mode doesnt display a link.

Have tried several things..no luck

edit: got stuff back by changing {$entry->upload_name} to {$entry->name}, use {$entry|print_r} to see other variables.

Re: uploads module: add simple downloads link to a news page... not working for me

Posted: Mon Jul 13, 2009 11:12 pm
by Rednes
Link is still not working..

Warning: Parameter upload_id is not known by module FormBrowser dropped in /var/www/vhosts/svdbweb.nl/httpdocs/projects/cmsmadesimple/lib/misc.functions.php on line 1359


using:

Code: Select all


{cms_module module="Uploads" category="cv_werknm" mode="singlesummary"  upload_id="$upload_id" key="FormBrowser:upload_id"}