A simple download link within a content item?

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
nicnic
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Thu Jul 20, 2006 9:07 am
Contact:

A simple download link within a content item?

Post by nicnic » Tue Jun 17, 2008 2:54 pm

Hello everyone! I reckon this one should be fairly simple:

How would you make a simple download link inside a content item? Clicking the link should immediately trigger the download and NOT lead to another page with the actual link. The file in question is a PDF file.

Thank you for any help to realise this little goal!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: A simple download link within a content item?

Post by leolam » Tue Jun 17, 2008 3:20 pm

1. create a subdirectory in your "stories-folder". call the thing "downloads"
2. upload with media manager or ftp (always faster) the PDF (name as example mypdf.pdf) to the "downloads" directory
3) go to your content item and open with the editor
4) highlight the text on which you want the download link such as "download the document here"
5) click the cable icon = link icon in your editor and enter in the link "htp://yourdomain.com/mages/stories/downloads/mypdf.pdf and save

done

(if you have many pdf's to download we have a component and editor solution)

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

nicnic
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Thu Jul 20, 2006 9:07 am
Contact:

Re: A simple download link within a content item?

Post by nicnic » Tue Jun 17, 2008 4:27 pm

Thank you Leo!

The linkage was quite hard to get, I had to copy the pdf's link from my webhosting controlpanel (right-click, copy link location) and it's weird crypted link.... Anyways, now it works.

nicnic
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Thu Jul 20, 2006 9:07 am
Contact:

Re: A simple download link within a content item?

Post by nicnic » Tue Jun 17, 2008 7:46 pm

Hi again! This led me to a CSS problem. How could I style the download link I created?

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: A simple download link within a content item?

Post by leolam » Wed Jun 18, 2008 4:13 am

many options: just upload a little pdf-button and place it in front or behind the link......or ........highlight the link and choose "styles" from your editor and assign the desired css style to the link


cheers
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

stunners1
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 17, 2008 4:48 am

Re: A simple download link within a content item?

Post by stunners1 » Wed Jun 18, 2008 10:02 am

(if you have many pdf's to download we have a component and editor solution)
this is me... could you please explain the process for me?

dlocc
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Jun 17, 2008 9:04 pm

Re: A simple download link within a content item?

Post by dlocc » Tue Jun 24, 2008 5:21 pm

When I link to the file and click on it I receive a Forbidden message... why is this?

carrie9055
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jan 24, 2010 8:59 am

Re: A simple download link within a content item?

Post by carrie9055 » Sun Jan 24, 2010 9:20 am

Thanks for the tip! So helpful - with a couple "typo" corrections to the recommended link : "htp" needs to be "http" and "mages" needs to be "images" for the link to work. Also (in trying out your advice), it looks like the folder identified as "downloads" can be named anything (or several different folders with different names for content organization) - as long as they're within "images/stories". Carrie ;)
leolam wrote:...

link "htp://yourdomain.com/mages/stories/downloads/mypdf.pdf and save

Leo 8)

User avatar
athyuttamre
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Apr 12, 2010 11:57 am

Re: A simple download link within a content item?

Post by athyuttamre » Mon Apr 19, 2010 11:46 am

there is a much better way...use the plugin simpledownload

it is found at joomla extensions directory.

watch demo here www.whitevalley.org
WhiteValley!
Joomla! ; Student Help ; Debates ; Fight Global Warming ; Visit :
http://www.whitevalley.org
Signature rules - Domain only listed once - No more then 4 lines.

rmcdonnelly
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jun 25, 2010 12:15 am

Re: A simple download link within a content item?

Post by rmcdonnelly » Fri Jun 25, 2010 12:19 am

Thats what I love about this forum - no matter what the problem is, there is always an answer here with a simple search!

User avatar
beededea
Joomla! Hero
Joomla! Hero
Posts: 2809
Joined: Wed Oct 31, 2007 3:48 pm
Location: Victorian England 1885

Re: A simple download link within a content item?

Post by beededea » Mon Sep 27, 2010 8:46 am

how would simple download help? it is a joomla 1.5 extension - this is a Joomla 1.0 forum
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar

Pontianak
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Apr 11, 2011 4:44 pm

Re: A simple download link within a content item?

Post by Pontianak » Tue Apr 12, 2011 6:37 am

I was thinking the exact same thing. but oh well. Leo's method help so..

escofet
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Mar 20, 2014 1:08 pm

Re: A simple download link within a content item?

Post by escofet » Wed Oct 08, 2014 6:16 pm

i i followed your instructions
images/pdf/GSON_forms/community_health_worker.pdf

but it does not work...i get this
Not Found

The requested URL /images/pdf/GSON_forms/community_health_worker.pdf was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

but if i right click and click on save link as..i get to download the file

please i need help


Locked

Return to “General Questions - 1.0.x”