uploading pdfs

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
gogo123

uploading pdfs

Post by gogo123 »

Hi

I would like to upload pdfs on my site -I'm currently storing the pdf in /uploads/images directory and

using {cms_selflink page="/uploads/images/Annual Report 2005-06.pdf" img="/uploads/images/iconimg.bmp" width="126" height="131" imageonly=1}

but this does not appear to load pdfs

Any suggestions?
Last edited by gogo123 on Thu Apr 05, 2007 4:27 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: uploading pdfs

Post by calguy1000 »

Try the uploads module.
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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: uploading pdfs

Post by kermit »

{cms_selflink} doesn't link to FILES...well, you could use the 'ext' parameter and include the full url to the file:

  # (optional) ext - For external links, will add class="external and info text. warning: only text, target and title parameters are compatible with this parameter
  # (optional) ext_info - Used together with "ext" defaults to (external link).

i would either manually code the link or try the {filelink} custom tag found here (which i use):
http://wiki.cmsmadesimple.org/index.php ... #File_link

using {filelink} your code will look something like this (pulled from an actual page):

{filelink file='AGP.zip'}
{filelink file='AUDIO.zip'}
{filelink file='FIR.zip'}
{filelink file='HPMPRT.zip'}
{filelink file='HPNBUTIL.zip'}
{filelink file='LAN.zip'}
{filelink file='MODEM.zip'}
{filelink file='ONETOUCH.zip'}
{filelink file='README.TXT'}
{filelink file='TOUCHPAD.zip'}
{filelink file='USB2SER.zip'}
{filelink file='MODEM.zip'}
{filelink file='VIDEO.zip'}
{filelink file='WIRELESS.zip'}
Last edited by kermit on Thu Apr 05, 2007 10:58 pm, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Locked

Return to “CMSMS Core”