uploads module for downloading
Posted: Mon Dec 03, 2007 9:55 pm
Can anyone tell me how to setup the uploads mod to download a word doc
Content management as it is meant to be
https://forum.cmsmadesimple.org/
I'd like to display a file-list (a directory full of PDF files), so user can select (click on) which file to download. How is this done? Thanks,cyberman wrote: You have to upload it the doc via uploads mod before. Then you will get an ID and a download link
{cms_module module='Uploads' category='categorie' mode='single' upload_id='id'}
Code: Select all
{cms_module module='Uploads' category='categorie' mode='summary'}
Code: Select all
{cms_module module='Uploads' category='categorie' mode='detailed'}
Thanks for the reply ... I'm going through a learning curve.cyberman wrote: Please make a look at the module help
orCode: Select all
{cms_module module='Uploads' category='categorie' mode='summary'}
should work.Code: Select all
{cms_module module='Uploads' category='categorie' mode='detailed'}
Code: Select all
Icon
Category PDF files
Id 5
Name 2007_summary.PDF
http://cmswebsite/admin/moduleinterface.php?mact=Uploads,m6,getfile,0&m6showtemplate=false&m6upload_id=5
Date 2008-02-17 13:43:40
Author cmsadmin
Size (Kb) 234
Summary 2007 Year In Review
Summary 2007 Year In Review
Description Here’s what we’ve been up to this year ...
Code: Select all
http://cmswebsite/admin/moduleinterface.php?mact=Uploads,m6,getfile,0&m6showtemplate=false&m6upload_id=5
Code: Select all
{$entry->summarylink}
Code: Select all
http://cmswebsite/index.php?mact=Uploads,cntnt01,getfile,0&cntnt01showtemplate=false&cntnt01upload_id=5&cntnt01returnid=162
Code: Select all
{$entry->summarylink}
etc..
Code: Select all
<a href="{$entry->download_url}">Download</a>