Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • krasy
  • krasy's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 90
  • Thank you received: 8
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.

Please Log in or Create an account to join the conversation.

Last edit: by krasy.

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

  • krasy
  • krasy's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 90
  • Thank you received: 8
added:
'href' => JRoute::_("...

to:
echo JDom::_('html.fly.file', array(

Please Log in or Create an account to join the conversation.

Last edit: by krasy.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Did you got it sorted ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.

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

  • krasy
  • krasy's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 90
  • Thank you received: 8
yep,
manually add clikable links to,
file defined in object,
have some better solution ;) ?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.165 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started