Welcome, Guest
Username: Password: Remember me

TOPIC: How to download uploaded files

How to download uploaded files 30 Sep 2014 12:12 #12668

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 80
  • Thank you received: 8
  • Karma: 5
how to download uploaded files:
First i ve created file column in datebase and enabled proper filetypes:


next:
-added form
-set paths in component config

next i ve added to fly in layout field connected to that layout, chcecked "create link" and configured "task/action" to dowload


optionally set thumb:


upladed image in fly looks like this:


uploaded pdf file looks like this:


Problem:
-i cant download, what is wrong?
file is properly send to server, there is no link genereated to dowload.
Last Edit: 30 Sep 2014 12:14 by krasy.
The administrator has disabled public write access.

How to download uploaded files 30 Sep 2014 14:37 #12669

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 80
  • Thank you received: 8
  • Karma: 5
added:
'href' => JRoute::_("...

to:
echo JDom::_('html.fly.file', array(
Last Edit: 30 Sep 2014 14:37 by krasy.
The administrator has disabled public write access.

How to download uploaded files 04 Oct 2014 11:13 #12670

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3701
  • Thank you received: 972
  • Karma: 140
Did you got it sorted ?
Coding is now a piece of cake
Last Edit: 04 Oct 2014 11:13 by admin.
The administrator has disabled public write access.

How to download uploaded files 06 Oct 2014 07:21 #12671

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 80
  • Thank you received: 8
  • Karma: 5
yep,
manually add clikable links to,
file defined in object,
have some better solution ;) ?
The administrator has disabled public write access.
Time to create page: 0.070 seconds

Get Started