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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
broony
Forum Members
Forum Members
Posts: 17
Joined: Mon Apr 23, 2007 5:52 am

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

Post 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
Last edited by broony on Thu Jan 29, 2009 5:55 pm, edited 1 time in total.
broony
Forum Members
Forum Members
Posts: 17
Joined: Mon Apr 23, 2007 5:52 am

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

Post by broony »

anyone got any ideas?
Thanks !
User avatar
Rednes
Forum Members
Forum Members
Posts: 85
Joined: Wed Apr 08, 2009 1:09 pm
Location: Rotterdam, The Netherlands

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

Post 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.
Last edited by Rednes on Mon Jul 13, 2009 10:18 pm, edited 1 time in total.
User avatar
Rednes
Forum Members
Forum Members
Posts: 85
Joined: Wed Apr 08, 2009 1:09 pm
Location: Rotterdam, The Netherlands

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

Post 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"}

Post Reply

Return to “Modules/Add-Ons”